patch-2.4.14 linux/include/asm-arm/uaccess.h

Next file: linux/include/asm-i386/floppy.h
Previous file: linux/include/asm-arm/setup.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.13/linux/include/asm-arm/uaccess.h linux/include/asm-arm/uaccess.h
@@ -117,8 +117,8 @@
 
 #define put_user(x,p)							\
 	({								\
-		const register typeof(*(p)) *__p asm("r0") = (p);	\
 		const register typeof(*(p)) __r1 asm("r1") = (x);	\
+		const register typeof(*(p)) *__p asm("r0") = (p);	\
 		register int __e asm("r0");				\
 		switch (sizeof(*(p))) {					\
 		case 1:							\

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)