Bug 17071 - Drm kernel module build fail with [error: too many arguments to function ‘on_each_cpu’]
Summary: Drm kernel module build fail with [error: too many arguments to function ‘on_...
Status: VERIFIED WONTFIX
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/other (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-11 01:23 UTC by liuhaien
Modified: 2008-12-05 21:36 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Fix on_each_cpu for kernel >2.6.26 by conditionals (968 bytes, patch)
2008-08-11 01:27 UTC, Johannes Engel
no flags Details | Splinter Review

Description liuhaien 2008-08-11 01:23:08 UTC
Drm kernel module compile again on kernel >=2.6.27 with below error:
-----------------------------------------------
/GFX/build/component/Drm/drm/linux-core/drm_ttm.c: In function ‘drm_ttm_cache_flush’:
/GFX/build/component/Drm/drm/linux-core/drm_ttm.c:75: error: too many arguments to function ‘on_each_cpu’
make[2]: *** [/GFX/build/component/Drm/drm/linux-core/drm_ttm.o] Error 1
make[1]: *** [_module_/GFX/build/component/Drm/drm/linux-core] Error 2
make[1]: Leaving directory `/home/graphics/linux-2.6'
make: *** [modules] Error 2
----------------------------------
Comment 1 Johannes Engel 2008-08-11 01:27:18 UTC
Created attachment 18214 [details] [review]
Fix on_each_cpu for kernel >2.6.26 by conditionals

That one should help. We had a discussion on the mailing list some time ago, but apparently upto now could not find a proper result...
Comment 2 Gordon Jin 2008-12-04 22:03:47 UTC
I guess we are not going to support this. I'm going to close this bug if no other comments.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.