* Sam Ravnborg <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>

        Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to