patch-2.2.0-pre3 linux/include/asm-i386/uaccess.h

Next file: linux/include/linux/fs.h
Previous file: linux/include/asm-i386/timex.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.0-pre2/linux/include/asm-i386/uaccess.h linux/include/asm-i386/uaccess.h
@@ -45,7 +45,7 @@
 		:"1" (addr),"g" (size),"g" (current->addr_limit.seg)); \
 	flag; })
 
-#ifdef CONFIG_WP_WORKS_OK
+#ifdef CONFIG_X86_WP_WORKS_OK
 
 #define access_ok(type,addr,size) (__range_ok(addr,size) == 0)
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov