summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2007-03-01 05:12:31 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-03-01 23:53:37 +0100
commit1499993cc7bfd568f471bd697499cff394e46822 (patch)
tree56279ec6ab9962cedc220a86bd42a3eba35bcd0c /Documentation
parent[PATCH] Rename PG_checked to PG_owner_priv_1 (diff)
downloadlinux-1499993cc7bfd568f471bd697499cff394e46822.tar.xz
linux-1499993cc7bfd568f471bd697499cff394e46822.zip
[PATCH] 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> Cc: <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions