patch-2.1.75 linux/include/asm-i386/uaccess.h

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

diff -u --recursive --new-file v2.1.74/linux/include/asm-i386/uaccess.h linux/include/asm-i386/uaccess.h
@@ -55,7 +55,7 @@
 #else
 #define __access_ok(type,addr,size) \
 	(__kernel_ok || (__user_ok(addr,size) && \
-			 ((type) == VERIFY_READ || wp_works_ok || \
+			 ((type) == VERIFY_READ || boot_cpu_data.wp_works_ok || \
 			  __verify_write((void *)(addr),(size)))))
 #endif /* CPU */
 

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