Re: mm: memory/cpu hotplug section mismatch.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: KAMEZAWA Hiroyuki
Date: Sunday, June 10, 2007 - 10:01 pm

On Mon, 11 Jun 2007 13:35:43 +0900
Paul Mundt <lethal@linux-sh.org> wrote:


It seems this zone_batchsize() is called by cpu-hotplug and memory-hotplug.
So, __init_refok doesn't look good, here.

maybe we can use __devinit here. (Because HOTPLUG_CPU and MEMORY_HOTPLUG are
depend on CONFIG_HOTPLUG.)

-Kame

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
mm: memory/cpu hotplug section mismatch., Paul Mundt, (Sun Jun 10, 9:35 pm)
Re: mm: memory/cpu hotplug section mismatch., KAMEZAWA Hiroyuki, (Sun Jun 10, 10:01 pm)
Re: mm: memory/cpu hotplug section mismatch., Paul Mundt, (Sun Jun 10, 10:09 pm)
Re: mm: memory/cpu hotplug section mismatch., Randy Dunlap, (Mon Jun 11, 8:27 am)
Re: mm: memory/cpu hotplug section mismatch., Paul Mundt, (Mon Jun 11, 8:44 am)
Re: mm: memory/cpu hotplug section mismatch., Sam Ravnborg, (Mon Jun 11, 11:40 am)
Re: mm: memory/cpu hotplug section mismatch., Yasunori Goto, (Mon Jun 11, 6:50 pm)
Re: mm: memory/cpu hotplug section mismatch., Paul Mundt, (Mon Jun 11, 8:19 pm)