Re: [PATCH 0/5] x86/pci: patches for tip/x86/unify-pci

From: Robert Richter
Date: Fri Jul 11 2008 - 04:21:39 EST


On 10.07.08 21:54:25, Ingo Molnar wrote:
>
> * Sam Ravnborg <sam@xxxxxxxxxxxx> wrote:
>
> > On Thu, Jul 10, 2008 at 08:12:34PM +0200, Ingo Molnar wrote:
> > >
> > > * Ingo Molnar <mingo@xxxxxxx> wrote:
> > >
> > > > * Robert Richter <robert.richter@xxxxxxx> wrote:
> > > >
> > > > > This patch series contains patches for tip/x86/unify-pci. It fixes
> > > > > NUMA initialization code reflecting latest changes in tip/master.
> > > > > Also there are build fixes and minor cleanups. Patch #5 is a cherry
> > > > > pick that fixes build on UP systems. Code reboots for smp/nosmp,
> > > > > acpi/noacpi, numaq, 32/64bit. It compiles for visws.
> > > >
> > > > thanks Robert. Today i've eliminated the VISWS subarch which greatly
> > > > simplified your series. I've picked up these two fixes:
> > > >
> > > > Robert Richter (2):
> > > > x86/pci merge: fixing numaq initialization
> > > > x86/pci: fix warnings in subsys_initcall functions
> > >
> > > btw., this is how arch/x86/pci/Makefile looks like now in tip/master:
> > >
> > > ----------------------------------------->
> > > pci-y := fixup.o
> > > pci-$(CONFIG_ACPI) += acpi.o
> > > pci-y += legacy.o irq.o
> > >
> > > pci-$(CONFIG_X86_VISWS) += visws.o
> > >
> > > pci-$(CONFIG_X86_NUMAQ) += numa.o
> > >
> > > obj-y += $(pci-y) common.o early.o
> > > obj-y += amd_bus.o
> > > <-----------------------------------------
> >
> > So if I am not mistaken you can kill pci-y entirely:

Yes, but...

> >
> > obj-y := fixup.o

... this is with a plus:

obj-y += fixup.o

> > obj-$(CONFIG_ACPI) += acpi.o
> > obj-y += legacy.o irq.o
> >
> > obj-$(CONFIG_X86_VISWS) += visws.o
> >
> > obj-$(CONFIG_X86_NUMAQ) += numa.o
> >
> > obj-y += common.o early.o
> > obj-y += amd_bus.o
>
> ah, indeed :-) Very nice.
>
> Ingo
>

--
Advanced Micro Devices, Inc.
Operating System Research Center
email: robert.richter@xxxxxxx

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/