|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] xen: allow CONFIG_ACPI_PROCESSOR_XEN=m
From: Ian Campbell <ijc@xxxxxxxxxxxxxx>
This appears to work fine now.
Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Cc: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>
Cc: Yu Ke <ke.yu@xxxxxxxxx>
---
drivers/xen/Kconfig | 2 +-
include/xen/acpi.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/xen/Kconfig b/drivers/xen/Kconfig
index fc2001c..f03f73e 100644
--- a/drivers/xen/Kconfig
+++ b/drivers/xen/Kconfig
@@ -169,7 +169,7 @@ config XEN_MCE
depends on XEN_DOM0 && X86_64 && X86_MCE_INTEL
config ACPI_PROCESSOR_XEN
- bool
+ tristate
depends on XEN_DOM0 && ACPI_PROCESSOR && CPU_FREQ
default y
diff --git a/include/xen/acpi.h b/include/xen/acpi.h
index 3d7ea40..8506688 100644
--- a/include/xen/acpi.h
+++ b/include/xen/acpi.h
@@ -41,7 +41,7 @@ int acpi_notify_hypervisor_state(u8 sleep_state,
#define HOTPLUG_TYPE_ADD 0
#define HOTPLUG_TYPE_REMOVE 1
-#ifdef CONFIG_ACPI_PROCESSOR_XEN
+#if defined(CONFIG_ACPI_PROCESSOR_XEN) ||
defined(CONFIG_ACPI_PROCESSOR_XEN_MODULE)
struct processor_cntl_xen_ops {
/* Transfer processor PM events to xen */
--
1.6.5.3
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH] xen: allow CONFIG_ACPI_PROCESSOR_XEN=m,
Ian Campbell <=
|
|
|
|
|