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

Next file: linux/include/asm-m68k/atari_SLM.h
Previous file: linux/fs/nfs/proc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.11/linux/include/asm-i386/uaccess.h linux/include/asm-i386/uaccess.h
@@ -408,7 +408,7 @@
 		"	.align 4\n"					   \
 		"	.long 0b,3b\n"					   \
 		".text"							   \
-		: "=r"(res), "=r"(count)				   \
+		: "=d"(res), "=c"(count)				   \
 		: "i"(-EFAULT), "0"(count), "1"(count), "S"(src), "D"(dst) \
 		: "si", "di", "ax", "memory")
 

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