diff options
author | David S. Miller <davem@davemloft.net> | 2012-05-13 16:07:16 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-13 16:07:16 -0400 |
commit | 73c1377da9fb732bf8ff1b262a92507e8736b1bf (patch) | |
tree | fb978e875640b2959f32bb5cdbcaa5335bce9642 /arch/sparc/mm | |
parent | 0f031b3f26c5fc019d541e41ae53b32e2dc6a373 (diff) |
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.c | 5 |
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) | |||
1980 | { | 1980 | { |
1981 | extern void ld_mmu_iommu(void); | 1981 | extern void ld_mmu_iommu(void); |
1982 | extern void ld_mmu_iounit(void); | 1982 | extern void ld_mmu_iounit(void); |
1983 | extern void ___xchg32_sun4md(void); | ||
1984 | 1983 | ||
1985 | /* Functions */ | 1984 | /* Functions */ |
1986 | #ifndef CONFIG_SMP | ||
1987 | BTFIXUPSET_CALL(___xchg32, ___xchg32_sun4md, BTFIXUPCALL_SWAPG1G2); | ||
1988 | #endif | ||
1989 | |||
1990 | BTFIXUPSET_CALL(update_mmu_cache, srmmu_update_mmu_cache, BTFIXUPCALL_NOP); | 1985 | BTFIXUPSET_CALL(update_mmu_cache, srmmu_update_mmu_cache, BTFIXUPCALL_NOP); |
1991 | 1986 | ||
1992 | get_srmmu_type(); | 1987 | get_srmmu_type(); |