x86/paravirt: return full 64-bit result
Subsystems (2)
PATCH 1/1 x86/paravirt: return full 64-bit result
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 <[email protected]>
---arch/x86/include/asm/paravirt.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
===================================================================
arch/x86/include/asm/paravirt.h +0 -0
@@ -522,7 +522,7 @@
"=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
H. Peter Anvin
AppliedQuoted 4 lines · Jeremy Fitzhardinge
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 <[email protected]>
Applied to tip:x86/paravirt. Thanks!
-hpa