ia64/xen-unstable

changeset 6093:839d3ac75da3

Fix 64-bit __get_user() on 32-bit x86. Needed for PAE.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Wed Aug 10 13:06:00 2005 +0000 (2005-08-10)
parents 5dae4ecedb0c
children 4fa90e2a3257
files xen/include/asm-x86/x86_32/uaccess.h
line diff
     1.1 --- a/xen/include/asm-x86/x86_32/uaccess.h	Wed Aug 10 13:05:22 2005 +0000
     1.2 +++ b/xen/include/asm-x86/x86_32/uaccess.h	Wed Aug 10 13:06:00 2005 +0000
     1.3 @@ -67,7 +67,7 @@ do {									\
     1.4  		"	.long 1b,4b\n"				\
     1.5  		"	.long 2b,4b\n"				\
     1.6  		".previous"					\
     1.7 -		: "=r" (retval), "=A" (x)			\
     1.8 +		: "=r" (retval), "=&A" (x)			\
     1.9  		: "r" (addr), "i"(errret), "0"(retval))
    1.10  
    1.11  #define __get_user_size(x,ptr,size,retval,errret)			\