x86/vmi: fix interrupt enable/disable/save/restore calling convention.
authorJeremy Fitzhardinge <jeremy@goop.org>
Sat, 31 Jan 2009 07:18:41 +0000 (23:18 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 2 Feb 2009 16:06:33 +0000 (08:06 -0800)
commit664c7954721adfc9bd61de6ec78f89f482f1a802
tree7f6c83dd628aae50d59927cbd9e1acd5aea36168
parente584f559c7b8711cccdf319400acd6294b2c074e
x86/vmi: fix interrupt enable/disable/save/restore calling convention.

Zach says:
> Enable/Disable have no clobbers at all.
> Save clobbers only return value, %eax
> Restore also clobbers nothing.

This is precisely compatible with the calling convention, so we can
just call them directly without wrapping.

(Compile tested only.)

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/vmi_32.c