aboutsummaryrefslogtreecommitdiff
path: root/mm/vmalloc.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2007-02-28 20:12:31 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2007-03-09 10:50:31 -0800
commit0ad1314a8374ed30092752d8406e9cc5940f58fa (patch)
tree11d7ba5478e3e6f2d00bd1d5b542b623cc3f5ad5 /mm/vmalloc.c
parentc8f9fa24f3b91e06a27931c908d6184c06e3119b (diff)
fix section mismatch warning in lockdep
lockdep_init() is marked __init but used in several places outside __init code. This causes following warnings: $ scripts/mod/modpost kernel/lockdep.o WARNING: kernel/built-in.o - Section mismatch: reference to .init.text:lockdep_init from .text.lockdep_init_map after 'lockdep_init_map' (at offset 0x105) WARNING: kernel/built-in.o - Section mismatch: reference to .init.text:lockdep_init from .text.lockdep_reset_lock after 'lockdep_reset_lock' (at offset 0x35) WARNING: kernel/built-in.o - Section mismatch: reference to .init.text:lockdep_init from .text.__lock_acquire after '__lock_acquire' (at offset 0xb2) The warnings are less obviously due to heavy inlining by gcc - this is not altered. Fix the section mismatch warnings by removing the __init marking, which seems obviously wrong. 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: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'mm/vmalloc.c')
0 files changed, 0 insertions, 0 deletions