Skip to contentSkip to conversation

x86/paravirt: return full 64-bit result

PATCH Applied Jeremy Fitzhardinge 2 participants 2 messages Feb 4, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

---
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

#1 lore raw
Quoted 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.

Applied to tip:x86/paravirt. Thanks!

-hpa