]> xenbits.xensource.com Git - xen.git/commit
x86: fix compat guest handling of XENPF_enter_acpi_sleep
authorJan Beulich <jbeulich@suse.com>
Thu, 26 Sep 2013 08:23:39 +0000 (10:23 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 26 Sep 2013 08:23:39 +0000 (10:23 +0200)
commitec206e8ee4833c87746b0ef1e2e7ceeddc53e5f7
tree911567a84e9ea741b0df0b067c05790b1743195e
parent07344c0f33be13bf9232a113681ef9087557f706
x86: fix compat guest handling of XENPF_enter_acpi_sleep

Rather than blindly defining the native name to the compat one, when
we want to pass the compat structure to a native function we ought to
verify that their layouts match. With a respective xlat.lst entry
there's then also no need anymore to do such aliasing.

While cleaaning up that file I also noticed that the Cx and Px
interface handling here has quite a few unnecessary #define-s - delete
them.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/x86_64/platform_hypercall.c
xen/include/xlat.lst