summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/sparc_ksyms_32.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/kernel/sparc_ksyms_32.c')
-rw-r--r--arch/sparc/kernel/sparc_ksyms_32.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/sparc/kernel/sparc_ksyms_32.c b/arch/sparc/kernel/sparc_ksyms_32.c
index fd38a920992..9763895b22b 100644
--- a/arch/sparc/kernel/sparc_ksyms_32.c
+++ b/arch/sparc/kernel/sparc_ksyms_32.c
@@ -29,9 +29,7 @@ EXPORT_SYMBOL(__ret_efault);
EXPORT_SYMBOL(empty_zero_page);
/* Defined using magic */
-#ifndef CONFIG_SMP
-EXPORT_SYMBOL(BTFIXUP_CALL(___xchg32));
-#else
+#ifdef CONFIG_SMP
EXPORT_SYMBOL(BTFIXUP_CALL(__hard_smp_processor_id));
#endif
EXPORT_SYMBOL(BTFIXUP_CALL(mmu_unlockarea));