xen/acpi: move xen_acpi_get_pxm under CONFIG_XEN_DOM0
authorLiu Jinsong <jinsong.liu@intel.com>
Thu, 14 Feb 2013 07:46:26 +0000 (15:46 +0800)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 20 Feb 2013 03:02:30 +0000 (22:02 -0500)
commit268a207563f933ff8e3d876866c324b4247f234e
tree929fb34d3435c3ffe86d2cbd474bb739091e90e5
parent39adc483d378f79711f291539f20e3797337892d
xen/acpi: move xen_acpi_get_pxm under CONFIG_XEN_DOM0

To avoid compile issue and it's meanigfull only under CONFIG_XEN_DOM0.

In file included from linux/arch/x86/xen/enlighten.c:47:0:
linux/include/xen/acpi.h:75:76: error: unknown type name ‘acpi_handle’
make[3]: *** [arch/x86/xen/enlighten.o] Error 1

Signed-off-by: Liu Jinsong <jinsong.liu@intel.com>
[v1: Fixed spelling mistakes]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
include/xen/acpi.h