diff options
author | Randy Dunlap | 2007-07-31 09:37:32 +0200 |
---|---|---|
committer | Linus Torvalds | 2007-08-01 00:39:37 +0200 |
commit | e6b33220845d4702590ecbe356787e59c8d914ae (patch) | |
tree | c3e6b5d98137db23ae4f3a45af9a3ace346a58ba /arch/x86_64/kernel/tce.c | |
parent | oom: print points as unsigned long (diff) | |
download | kernel-qcow2-linux-e6b33220845d4702590ecbe356787e59c8d914ae.tar.gz kernel-qcow2-linux-e6b33220845d4702590ecbe356787e59c8d914ae.tar.xz kernel-qcow2-linux-e6b33220845d4702590ecbe356787e59c8d914ae.zip |
x86-64: Calgary: fix section mismatch warnings in tce
Fix section mismatch warnings:
these functions are called only from __init functions.
WARNING: vmlinux.o(.text+0x1861c): Section mismatch: reference to .init.text:free_bootmem (between 'free_tce_table' and 'build_tce_table')
WARNING: vmlinux.o(.text+0x187e5): Section mismatch: reference to .init.text:__alloc_bootmem_low (between 'alloc_tce_table' and 'kretprobe_trampoline_holder')
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Muli Ben-Yehuda <muli@il.ibm.com>
Cc: Andi Kleen <ak@suse.de>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86_64/kernel/tce.c')
-rw-r--r-- | arch/x86_64/kernel/tce.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/tce.c b/arch/x86_64/kernel/tce.c index 821527e7faa3..e3f2569b2c44 100644 --- a/arch/x86_64/kernel/tce.c +++ b/arch/x86_64/kernel/tce.c @@ -131,7 +131,7 @@ done: return ret; } -int build_tce_table(struct pci_dev *dev, void __iomem *bbar) +int __init build_tce_table(struct pci_dev *dev, void __iomem *bbar) { struct iommu_table *tbl; int ret; |