diff options
author | David S. Miller <davem@davemloft.net> | 2012-05-13 22:07:16 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-13 22:07:16 +0200 |
commit | 73c1377da9fb732bf8ff1b262a92507e8736b1bf (patch) | |
tree | fb978e875640b2959f32bb5cdbcaa5335bce9642 /arch/sparc/kernel/sparc_ksyms_32.c | |
parent | sparc32: drop unused clear_cpu_int (diff) | |
download | linux-73c1377da9fb732bf8ff1b262a92507e8736b1bf.tar.xz linux-73c1377da9fb732bf8ff1b262a92507e8736b1bf.zip |
sparc32: Kill btfixup for xchg()'s 'swap' instruction.
We always have this instruction available, so no need to use
btfixup for it any more.
This also eradicates the whole of atomic_32.S and thus the
__atomic_begin and __atomic_end symbols completely.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/sparc_ksyms_32.c')
-rw-r--r-- | arch/sparc/kernel/sparc_ksyms_32.c | 4 |
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 fd38a920992d..9763895b22b2 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)); |