aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86_64/kernel/x8664_ksyms.c
diff options
context:
space:
mode:
authorAlexander Nyberg <alexn@telia.com>2005-05-25 12:31:28 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-25 15:31:28 -0700
commit4f60fdf613536402e3313c5019b3ae6060b2ae4a (patch)
tree85205ce2d6c7b0d846fddc93527b4d55820ffe3b /arch/x86_64/kernel/x8664_ksyms.c
parent[PATCH] ipmi build fix (diff)
downloadlinux-dev-4f60fdf613536402e3313c5019b3ae6060b2ae4a.tar.xz
linux-dev-4f60fdf613536402e3313c5019b3ae6060b2ae4a.zip
[PATCH] x86_64: CONFIG_BUG=n fixes
Fixes some !CONFIG_BUG warnings: include/asm/mmu_context.h: I funktion `switch_mm': include/asm/mmu_context.h:57: varning: implicit declaration of function `out_of_line_bug' Signed-off-by: Alexander Nyberg <alexn@telia.com> Cc: Andi Kleen <ak@muc.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to '')
-rw-r--r--arch/x86_64/kernel/x8664_ksyms.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/x8664_ksyms.c b/arch/x86_64/kernel/x8664_ksyms.c
index a43dedb58fa2..68ec03070e5a 100644
--- a/arch/x86_64/kernel/x8664_ksyms.c
+++ b/arch/x86_64/kernel/x8664_ksyms.c
@@ -193,8 +193,9 @@ EXPORT_SYMBOL(smp_num_siblings);
extern void do_softirq_thunk(void);
EXPORT_SYMBOL(do_softirq_thunk);
-void out_of_line_bug(void);
+#ifdef CONFIG_BUG
EXPORT_SYMBOL(out_of_line_bug);
+#endif
EXPORT_SYMBOL(init_level4_pgt);