From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id B33A2DDE0D for ; Thu, 24 Jan 2008 18:07:02 +1100 (EST) Subject: Re: [PATCH v2][POWERPC] Always build setup-bus.c on powerpc From: Benjamin Herrenschmidt To: Kumar Gala In-Reply-To: References: <1201156120.6815.48.camel@pasglop> <8642742F-E8BF-43C7-9FE4-AAF54855ECF7@kernel.crashing.org> Content-Type: text/plain Date: Thu, 24 Jan 2008 18:06:35 +1100 Message-Id: <1201158395.6815.50.camel@pasglop> Mime-Version: 1.0 Cc: Greg KH , linux-pci@atrey.karlin.mff.cuni.cz, Paul Mackerras , linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org Reply-To: benh@kernel.crashing.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 2008-01-24 at 00:38 -0600, Kumar Gala wrote: > The common arch/powerpc code calls in to functions in setup-bus.c > so some builds of ppc32 would fail. > > Note, ppc32 usage of setup-irq.c is limited to arch/ppc and should be > removed when arch/ppc goes away. > > Signed-off-by: Kumar Gala > Signed-off-by: Greg Kroah-Hartman Ack. Funny I didn't catch it on my 4xx testing, I must have always had HOTPLUG enabled. > --- > > Here's the proper diff, will send this via paulus. > > drivers/pci/Makefile | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/pci/Makefile b/drivers/pci/Makefile > index 5550556..f697f3d 100644 > --- a/drivers/pci/Makefile > +++ b/drivers/pci/Makefile > @@ -32,7 +32,7 @@ obj-$(CONFIG_ARM) += setup-bus.o setup-irq.o > obj-$(CONFIG_PARISC) += setup-bus.o > obj-$(CONFIG_SUPERH) += setup-bus.o setup-irq.o > obj-$(CONFIG_PPC32) += setup-irq.o > -obj-$(CONFIG_PPC64) += setup-bus.o > +obj-$(CONFIG_PPC) += setup-bus.o > obj-$(CONFIG_MIPS) += setup-bus.o setup-irq.o > obj-$(CONFIG_X86_VISWS) += setup-irq.o >