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] processor_xen.o should depend on CONFIG_XEN

To: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] processor_xen.o should depend on CONFIG_XEN
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Fri, 18 Mar 2011 16:23:33 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 18 Mar 2011 08:25:12 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1300461820; l=881; s=domk; d=aepfle.de; h=In-Reply-To:Content-Type:MIME-Version:References:Subject:Cc:To:From: Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=11dkil2oxN3iC+law43rSx/KcLg=; b=QMjCsm6uZ4WoXJoIO4Bw3X1crEhwfTx8BdptEvy73lAO4vTgWxPc3PbTFXWSrxRqZ0l xZWK2rLv0i9KEGHd18kJUpmHdVyaNAVwg7i/uPTPY0FRCb22c6Ez/6XmXrpnza05vigbv ciGIX3HsNdUDBbISE8R0YzPK3g9QSsxlIcw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <19839.44086.702216.123545@xxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <20110312150736.GA31505@xxxxxxxxx> <19839.44086.702216.123545@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.21 (2010-09-15)
processor_xen.c references symbols which are only availabe if CONFIG_XEN
is enabled.

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>

---
 drivers/acpi/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.32.32-0.2-pvops/drivers/acpi/Makefile
===================================================================
--- linux-2.6.32.32-0.2-pvops.orig/drivers/acpi/Makefile
+++ linux-2.6.32.32-0.2-pvops/drivers/acpi/Makefile
@@ -61,7 +61,7 @@ obj-$(CONFIG_ACPI_POWER_METER)        += power_
 # processor has its own "processor." module_param namespace
 processor-y                    := processor_core.o processor_throttling.o
 processor-y                    += processor_idle.o processor_thermal.o
-processor-y                    += processor_xen.o
+processor-$(CONFIG_XEN)                += processor_xen.o
 processor-$(CONFIG_CPU_FREQ)   += processor_perflib.o
 
 obj-$(CONFIG_ACPI_PROCESSOR_AGGREGATOR) += acpi_pad.o

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel