diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2008-01-18 00:21:12 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-01-18 00:38:58 +0100 |
commit | 1d6f4e60e736a00b50ec668ba1a9fe27afb083a3 (patch) | |
tree | 5d08b61e5aba935662763fbfce05768eb5067ac4 /fs | |
parent | CRIS v10: vmlinux.lds.S: ix kernel oops on boot and use common defines (diff) | |
download | linux-1d6f4e60e736a00b50ec668ba1a9fe27afb083a3.tar.xz linux-1d6f4e60e736a00b50ec668ba1a9fe27afb083a3.zip |
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 culprit 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.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions