Re: mm: memory/cpu hotplug section mismatch.

2007-06-11 Thread Paul Mundt
On Tue, Jun 12, 2007 at 10:50:33AM +0900, Yasunori Goto wrote: > > > > > > If CONFIG_MEMORY_HOTPLUG=n __meminit == __init, and if > > > CONFIG_HOTPLUG_CPU=n __cpuinit == __init. However, with one set and the > > > other disabled, you end up with a reference between __init and a regular > > >

Re: mm: memory/cpu hotplug section mismatch.

2007-06-11 Thread Yasunori Goto
> > > > If CONFIG_MEMORY_HOTPLUG=n __meminit == __init, and if > > CONFIG_HOTPLUG_CPU=n __cpuinit == __init. However, with one set and the > > other disabled, you end up with a reference between __init and a regular > > non-init function. > > My plan is to define dedicated sections for both

Re: mm: memory/cpu hotplug section mismatch.

2007-06-11 Thread Sam Ravnborg
> > If CONFIG_MEMORY_HOTPLUG=n __meminit == __init, and if > CONFIG_HOTPLUG_CPU=n __cpuinit == __init. However, with one set and the > other disabled, you end up with a reference between __init and a regular > non-init function. My plan is to define dedicated sections for both __devinit and

Re: mm: memory/cpu hotplug section mismatch.

2007-06-11 Thread Paul Mundt
On Mon, Jun 11, 2007 at 08:27:32AM -0700, Randy Dunlap wrote: > On Mon, 11 Jun 2007 14:09:55 +0900 Paul Mundt wrote: > > On Mon, Jun 11, 2007 at 02:01:45PM +0900, KAMEZAWA Hiroyuki wrote: > > > On Mon, 11 Jun 2007 13:35:43 +0900 > > > Paul Mundt <[EMAIL PROTECTED]> wrote: > > > > This happens

Re: mm: memory/cpu hotplug section mismatch.

2007-06-11 Thread Randy Dunlap
On Mon, 11 Jun 2007 14:09:55 +0900 Paul Mundt wrote: > On Mon, Jun 11, 2007 at 02:01:45PM +0900, KAMEZAWA Hiroyuki wrote: > > On Mon, 11 Jun 2007 13:35:43 +0900 > > Paul Mundt <[EMAIL PROTECTED]> wrote: > > > > > When building with memory hotplug enabled and cpu hotplug disabled, we > > > end up

Re: mm: memory/cpu hotplug section mismatch.

2007-06-11 Thread Randy Dunlap
On Mon, 11 Jun 2007 14:09:55 +0900 Paul Mundt wrote: On Mon, Jun 11, 2007 at 02:01:45PM +0900, KAMEZAWA Hiroyuki wrote: On Mon, 11 Jun 2007 13:35:43 +0900 Paul Mundt [EMAIL PROTECTED] wrote: When building with memory hotplug enabled and cpu hotplug disabled, we end up with the

Re: mm: memory/cpu hotplug section mismatch.

2007-06-11 Thread Paul Mundt
On Mon, Jun 11, 2007 at 08:27:32AM -0700, Randy Dunlap wrote: On Mon, 11 Jun 2007 14:09:55 +0900 Paul Mundt wrote: On Mon, Jun 11, 2007 at 02:01:45PM +0900, KAMEZAWA Hiroyuki wrote: On Mon, 11 Jun 2007 13:35:43 +0900 Paul Mundt [EMAIL PROTECTED] wrote: This happens because

Re: mm: memory/cpu hotplug section mismatch.

2007-06-11 Thread Sam Ravnborg
If CONFIG_MEMORY_HOTPLUG=n __meminit == __init, and if CONFIG_HOTPLUG_CPU=n __cpuinit == __init. However, with one set and the other disabled, you end up with a reference between __init and a regular non-init function. My plan is to define dedicated sections for both __devinit and

Re: mm: memory/cpu hotplug section mismatch.

2007-06-11 Thread Yasunori Goto
If CONFIG_MEMORY_HOTPLUG=n __meminit == __init, and if CONFIG_HOTPLUG_CPU=n __cpuinit == __init. However, with one set and the other disabled, you end up with a reference between __init and a regular non-init function. My plan is to define dedicated sections for both __devinit and

Re: mm: memory/cpu hotplug section mismatch.

2007-06-11 Thread Paul Mundt
On Tue, Jun 12, 2007 at 10:50:33AM +0900, Yasunori Goto wrote: If CONFIG_MEMORY_HOTPLUG=n __meminit == __init, and if CONFIG_HOTPLUG_CPU=n __cpuinit == __init. However, with one set and the other disabled, you end up with a reference between __init and a regular non-init function.

Re: mm: memory/cpu hotplug section mismatch.

2007-06-10 Thread Paul Mundt
On Mon, Jun 11, 2007 at 02:01:45PM +0900, KAMEZAWA Hiroyuki wrote: > On Mon, 11 Jun 2007 13:35:43 +0900 > Paul Mundt <[EMAIL PROTECTED]> wrote: > > > When building with memory hotplug enabled and cpu hotplug disabled, we > > end up with the following section mismatch: > > > > WARNING:

Re: mm: memory/cpu hotplug section mismatch.

2007-06-10 Thread KAMEZAWA Hiroyuki
On Mon, 11 Jun 2007 13:35:43 +0900 Paul Mundt <[EMAIL PROTECTED]> wrote: > When building with memory hotplug enabled and cpu hotplug disabled, we > end up with the following section mismatch: > > WARNING: mm/built-in.o(.text+0x4e58): Section mismatch: reference to > .init.text: (between

Re: mm: memory/cpu hotplug section mismatch.

2007-06-10 Thread KAMEZAWA Hiroyuki
On Mon, 11 Jun 2007 13:35:43 +0900 Paul Mundt [EMAIL PROTECTED] wrote: When building with memory hotplug enabled and cpu hotplug disabled, we end up with the following section mismatch: WARNING: mm/built-in.o(.text+0x4e58): Section mismatch: reference to .init.text: (between

Re: mm: memory/cpu hotplug section mismatch.

2007-06-10 Thread Paul Mundt
On Mon, Jun 11, 2007 at 02:01:45PM +0900, KAMEZAWA Hiroyuki wrote: On Mon, 11 Jun 2007 13:35:43 +0900 Paul Mundt [EMAIL PROTECTED] wrote: When building with memory hotplug enabled and cpu hotplug disabled, we end up with the following section mismatch: WARNING: