Re: [PATCH] powerpc: fix annotation of pcibios_claim_one_bus

2009-06-01 Thread Benjamin Herrenschmidt
On Tue, 2009-06-02 at 12:06 +1000, Michael Ellerman wrote: > On Tue, 2009-06-02 at 10:53 +1000, Stephen Rothwell wrote: > > It was __devinit, but it is also within a CONFIG_HOTPLUG guarded section > > of code, so the __devinit does nothing but cause the following warning: > > > > WARNING: vmlinux.

Re: [PATCH] powerpc: fix annotation of pcibios_claim_one_bus

2009-06-01 Thread Michael Ellerman
On Tue, 2009-06-02 at 10:53 +1000, Stephen Rothwell wrote: > It was __devinit, but it is also within a CONFIG_HOTPLUG guarded section > of code, so the __devinit does nothing but cause the following warning: > > WARNING: vmlinux.o(.text+0x107a8): Section mismatch in reference from the > function