aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/mutex.c
diff options
context:
space:
mode:
authorRakib Mullick <rakib.mullick@gmail.com>2008-11-17 23:15:24 -0500
committerIngo Molnar <mingo@elte.hu>2008-11-18 02:49:24 -0500
commite270219f4372b58bd3eeac12bd9f7edc592b8f6b (patch)
tree0b7a2eafcc19d20e0fdd05b4525ea8b8684e73f5 /kernel/mutex.c
parent5821e1b74f0d08952cb5da4bfd2d9a388d8df58e (diff)
kernel/profile.c: fix section mismatch warning
Impact: fix section mismatch warning in kernel/profile.c Here, profile_nop function has been called from a non-init function create_hash_tables(void). Which generetes a section mismatch warning. Previously, create_hash_tables(void) was a init function. So, removing __init from create_hash_tables(void) requires profile_nop to be non-init. This patch makes profile_nop function inline and fixes the following warning: WARNING: vmlinux.o(.text+0x6ebb6): Section mismatch in reference from the function create_hash_tables() to the function .init.text:profile_nop() The function create_hash_tables() references the function __init profile_nop(). This is often because create_hash_tables lacks a __init annotation or the annotation of profile_nop is wrong. Signed-off-by: Rakib Mullick <rakib.mullick@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/mutex.c')
0 files changed, 0 insertions, 0 deletions