summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorJeremy Fitzhardinge2009-02-04 01:00:38 +0100
committerH. Peter Anvin2009-02-04 01:05:00 +0100
commit0eb592dbba40baebec9cdde3ff4574185de6cbcc (patch)
treeae98a39cefb0019300c5b1d641d5bb89eae39fe7 /arch/x86
parentx86/vmi: fix interrupt enable/disable/save/restore calling convention. (diff)
downloadkernel-qcow2-linux-0eb592dbba40baebec9cdde3ff4574185de6cbcc.tar.gz
kernel-qcow2-linux-0eb592dbba40baebec9cdde3ff4574185de6cbcc.tar.xz
kernel-qcow2-linux-0eb592dbba40baebec9cdde3ff4574185de6cbcc.zip
x86/paravirt: return full 64-bit result
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>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/include/asm/paravirt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/paravirt.h b/arch/x86/include/asm/paravirt.h
index 016dce311305..c85e7475e171 100644
--- a/arch/x86/include/asm/paravirt.h
+++ b/arch/x86/include/asm/paravirt.h
@@ -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