Messages in this thread | | | Date | Tue, 15 Jan 2008 23:12:49 +0100 | From | Ingo Molnar <> | Subject | [patch for v2.6.24] fix section mismatch warning in page_alloc.c |
| |
* Sam Ravnborg <sam@ravnborg.org> wrote:
> [PATCH] mm: fix section mismatch warning in page_alloc.c > > With CONFIG_HOTPLUG=n and CONFIG_HOTPLUG_CPU=y we saw following > warning: WARNING: mm/built-in.o(.text+0x6864): Section mismatch: > reference to .init.text: (between 'process_zones' and > 'pageset_cpuup_callback') > > The culprint was zone_batchsize() which were annotated __devinit but > used from process_zones() which is annotated __cpuinit. > zone_batchsize() are used from another function annotated __meminit so > the only valid option is to drop the annotation of zone_batchsize() so > we know it is always valid to use it.
Andrew: a v2.6.24 mm fix i think.
Acked-by: Ingo Molnar <mingo@elte.hu>
Ingo
| |