summaryrefslogtreecommitdiffstats
path: root/arch/x86_64/kernel/x8664_ksyms.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/kernel/x8664_ksyms.c')
-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 a43dedb58fa..68ec03070e5 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);