summaryrefslogtreecommitdiffstats
path: root/arch/sparc/mm
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-05-13 13:07:16 -0700
committerDavid S. Miller <davem@davemloft.net>2012-05-13 13:07:16 -0700
commit73c1377da9fb732bf8ff1b262a92507e8736b1bf (patch)
treefb978e875640b2959f32bb5cdbcaa5335bce9642 /arch/sparc/mm
parent0f031b3f26c5fc019d541e41ae53b32e2dc6a373 (diff)
downloadblackbird-obmc-linux-73c1377da9fb732bf8ff1b262a92507e8736b1bf.tar.gz
blackbird-obmc-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/mm')
-rw-r--r--arch/sparc/mm/srmmu.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/sparc/mm/srmmu.c b/arch/sparc/mm/srmmu.c
index 0a47b820cfa1..6efcb6b1ea18 100644
--- a/arch/sparc/mm/srmmu.c
+++ b/arch/sparc/mm/srmmu.c
@@ -1980,13 +1980,8 @@ void __init load_mmu(void)
{
extern void ld_mmu_iommu(void);
extern void ld_mmu_iounit(void);
- extern void ___xchg32_sun4md(void);
/* Functions */
-#ifndef CONFIG_SMP
- BTFIXUPSET_CALL(___xchg32, ___xchg32_sun4md, BTFIXUPCALL_SWAPG1G2);
-#endif
-
BTFIXUPSET_CALL(update_mmu_cache, srmmu_update_mmu_cache, BTFIXUPCALL_NOP);
get_srmmu_type();
OpenPOWER on IntegriCloud