x86/paravirt: implement PVOP_CALL macros for callee-save functions
commit791bad9d28d405d9397ea0c370ffb7c7bdd2aa6e
authorJeremy Fitzhardinge <jeremy@goop.org>
Wed, 28 Jan 2009 22:35:06 +0000 (28 14:35 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 30 Jan 2009 22:51:45 +0000 (30 14:51 -0800)
tree3a067d90415de66711bdaf9cd624d1a38cd4b8f0
parentecb93d1ccd0aac63f03be2db3cac3fa974716f4c
x86/paravirt: implement PVOP_CALL macros for callee-save functions

Impact: Optimization

Functions with the callee save calling convention clobber many fewer
registers than the normal C calling convention.  Implement variants of
PVOP_V?CALL* accordingly.  This only bothers with functions up to 3
args, since functions with more args may as well use the normal
calling convention.

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