23 lines
866 B
Diff
23 lines
866 B
Diff
Index: xen-3.1-testing/xen/arch/x86/usercopy.c
|
|
===================================================================
|
|
--- xen-3.1-testing.orig/xen/arch/x86/usercopy.c
|
|
+++ xen-3.1-testing/xen/arch/x86/usercopy.c
|
|
@@ -41,7 +41,7 @@ unsigned long __copy_to_user_ll(void __u
|
|
" "__FIXUP_WORD" 0b,3b\n"
|
|
" "__FIXUP_WORD" 1b,2b\n"
|
|
".previous"
|
|
- : "=&c"(__n), "=&D" (__d0), "=&S" (__d1), "=r"(__d2)
|
|
+ : "=&c"(__n), "=&D" (__d0), "=&S" (__d1), "=&r"(__d2)
|
|
: "3"(__n), "0"(__n), "1"(to), "2"(from)
|
|
: "memory");
|
|
return (unsigned)__n;
|
|
@@ -85,7 +85,7 @@ __copy_from_user_ll(void *to, const void
|
|
" "__FIXUP_WORD" 0b,3b\n"
|
|
" "__FIXUP_WORD" 1b,6b\n"
|
|
".previous"
|
|
- : "=&c"(__n), "=&D" (__d0), "=&S" (__d1), "=r"(__d2)
|
|
+ : "=&c"(__n), "=&D" (__d0), "=&S" (__d1), "=&r"(__d2)
|
|
: "3"(__n), "0"(__n), "1"(to), "2"(from)
|
|
: "memory");
|
|
return (unsigned)__n;
|