]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86_64: fix section mismatch warnings in tce
authorSam Ravnborg <sam@ravnborg.org>
Thu, 26 Jul 2007 17:41:16 +0000 (10:41 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 26 Jul 2007 18:35:19 +0000 (11:35 -0700)
commit252c01dc272c4b56bf1ab8582b3031682de153b3
tree2dc1b538c089dccd83df8804137cf73635f9749f
parentddcc3050bddc267f8d6e811bd930e885729f900b
x86_64: fix section mismatch warnings in tce

Fix the following two section mismatch warnings:

WARNING: vmlinux.o(.text+0x1ce84): Section mismatch: reference to .init.text:free_bootmem (between 'free_tce_table' and 'build_tce_table')
WARNING: vmlinux.o(.text+0x1d04d): Section mismatch: reference to .init.text:__alloc_bootmem_low (between 'alloc_tce_table' and 'kretprobe_trampoline_holder')

In both cases the functions was used only from __init
context so mark them __init.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86_64/kernel/tce.c