From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: [PATCH] processor_xen.o should depend on CONFIG_XEN Date: Fri, 18 Mar 2011 12:43:15 -0400 Message-ID: <20110318164315.GB1184@dumpdata.com> References: <20110312150736.GA31505@aepfle.de> <19839.44086.702216.123545@mariner.uk.xensource.com> <20110318152333.GA19826@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20110318152333.GA19826@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Olaf Hering , Ian Campbell Cc: xen-devel@lists.xensource.com, Ian Jackson List-Id: xen-devel@lists.xenproject.org On Fri, Mar 18, 2011 at 04:23:33PM +0100, Olaf Hering wrote: > processor_xen.c references symbols which are only availabe if CONFIG_XEN > is enabled. Hehe. I saw this for 2.6.38 some time ago from Ian Campbell and promptly forgot. Now it comes up again. Will stick it on 2.6.39 bug-fix branch shortly. > > Signed-off-by: Olaf Hering > > --- > 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@lists.xensource.com > http://lists.xensource.com/xen-devel