]> git.karo-electronics.de Git - linux-beck.git/commitdiff
x86/paravirt: return full 64-bit result
authorJeremy Fitzhardinge <jeremy@goop.org>
Wed, 4 Feb 2009 00:00:38 +0000 (16:00 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 4 Feb 2009 00:05:00 +0000 (16:05 -0800)
Impact: Bug fix

A hunk went missing in the original patch, and callee-save callsites were
not marked as returning the upper 32-bit of result, causing Badness.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/include/asm/paravirt.h

index 016dce3113050ab14f16ff4b9c7ff70a14cfe734..c85e7475e1719a1aa4bf4592b62e82b9d800b76c 100644 (file)
@@ -522,7 +522,7 @@ int paravirt_disable_iospace(void);
                                        "=c" (__ecx)
 #define PVOP_CALL_CLOBBERS             PVOP_VCALL_CLOBBERS
 
-#define PVOP_VCALLEE_CLOBBERS          "=a" (__eax)
+#define PVOP_VCALLEE_CLOBBERS          "=a" (__eax), "=d" (__edx)
 #define PVOP_CALLEE_CLOBBERS           PVOP_VCALLEE_CLOBBERS
 
 #define EXTRA_CLOBBERS