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

From: Ingo Molnar
Date: Thu Jul 10 2008 - 15:54:50 EST



* 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:
>
> 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
--
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/