x86/paravirt: don't restore second return reg
authorJeremy Fitzhardinge <jeremy@goop.org>
Sat, 31 Jan 2009 07:17:23 +0000 (23:17 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 2 Feb 2009 16:06:30 +0000 (08:06 -0800)
commite584f559c7b8711cccdf319400acd6294b2c074e
tree1e565531ed5ee273ef880cbae71593bdea2be87b
parent4767afbf1f60f73997a7eb69a86d380f1fb27a92
x86/paravirt: don't restore second return reg

Impact: bugfix

In the 32-bit calling convention, %eax:%edx is used to return 64-bit
values.  Don't save and restore %edx around wrapped functions, or they
can't return a full 64-bit result.

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