aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorMarcin Slusarz <marcin.slusarz@gmail.com>2008-08-17 17:50:51 +0200
committerIngo Molnar <mingo@elte.hu>2008-08-18 09:10:56 +0200
commitd19fbfdfe6a7034c8b6a7062365780485ab5aeaa (patch)
tree9b803c51ce55812be8934750d570f91f08ad5420 /fs/jbd2/commit.c
parentx86, percpu: silence section mismatch warnings related to EARLY_PER_CPU variables (diff)
downloadwireguard-linux-d19fbfdfe6a7034c8b6a7062365780485ab5aeaa.tar.xz
wireguard-linux-d19fbfdfe6a7034c8b6a7062365780485ab5aeaa.zip
x86: silence section mismatch warning - get_local_pda
Take out part of get_local_pda referencing __init function (free_bootmem) to new (static) function marked as __ref. It's safe to do because free_bootmem is called before __init sections are dropped. WARNING: vmlinux.o(.cpuinit.text+0x3cd7): Section mismatch in reference from the function get_local_pda() to the function .init.text:free_bootmem() The function __cpuinit get_local_pda() references a function __init free_bootmem(). If free_bootmem is only used by get_local_pda then annotate free_bootmem with a matching annotation. Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Cc: Mike Travis <travis@sgi.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions