All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xen: allow CONFIG_ACPI_PROCESSOR_XEN=m
@ 2009-12-03 22:03 Ian Campbell
  2009-12-03 22:41 ` Jeremy Fitzhardinge
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Campbell @ 2009-12-03 22:03 UTC (permalink / raw)
  To: xen-devel; +Cc: Jeremy Fitzhardinge, Ian Campbell, Yu Ke, Ian Campbell

From: Ian Campbell <ijc@hellion.org.uk>

This appears to work fine now.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Cc: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Yu Ke <ke.yu@intel.com>
---
 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-12-03 22:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-03 22:03 [PATCH] xen: allow CONFIG_ACPI_PROCESSOR_XEN=m Ian Campbell
2009-12-03 22:41 ` Jeremy Fitzhardinge
2009-12-03 22:46   ` Ian Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.