[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080115221249.GE2665@elte.hu>
Date: Tue, 15 Jan 2008 23:12:49 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Sam Ravnborg <sam@...nborg.org>,
Andrew Morton <akpm@...ux-foundation.org>
Cc: Adrian Bunk <bunk@...nel.org>, Andi Kleen <andi@...stfloor.org>,
rjw@...k.pl, pavel@...e.cz, linux-kernel@...r.kernel.org
Subject: [patch for v2.6.24] fix section mismatch warning in page_alloc.c
* Sam Ravnborg <sam@...nborg.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@...e.hu>
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists