Hi,

There has been a patch to 2.6.17-rc1
[PATCH] mm: make __put_page internal
http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=0f8053a509ceba4a077a50ea7b77039b5559b428

I believe this is causing drm cvs compiling to fail for the radeon module. I 
guess it is because __put_page's definition is hidden, and the drm cvs falls
back to an old definition in linux-core/drm_compat.h line 173. "count" vs 
"_count". I made this patch to make it compile. Some please look at what
should be really done.

Jesse


--- drm-current/linux-core/drm_compat.h 2005-10-14 15:56:14.000000000 -0700
+++ drm/linux-core/drm_compat.h 2006-04-22 17:20:35.000000000 -0700
@@ -170,7 +170,10 @@ static inline void radeon_delete_i2c_bus
 #endif
 
 #ifndef __put_page
-#define __put_page(p)           atomic_dec(&(p)->count)
+static inline void __put_page(struct page *page)
+{
+       atomic_dec(&page->_count);
+}
 #endif
 
 #ifndef REMAP_PAGE_RANGE_5_ARGS


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to