WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] xen: allow CONFIG_ACPI_PROCESSOR_XEN=m

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] xen: allow CONFIG_ACPI_PROCESSOR_XEN=m
From: Ian Campbell <ian.campbell@xxxxxxxxxx>
Date: Thu, 3 Dec 2009 22:03:31 +0000
Cc: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>, Ian Campbell <ian.campbell@xxxxxxxxxx>, Yu Ke <ke.yu@xxxxxxxxx>, Ian Campbell <ijc@xxxxxxxxxxxxxx>
Delivery-date: Thu, 03 Dec 2009 14:04:37 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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>