summaryrefslogtreecommitdiffstats
path: root/arch/sparc/lib/Makefile
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/lib/Makefile
parent0f031b3f26c5fc019d541e41ae53b32e2dc6a373 (diff)
downloadop-kernel-dev-73c1377da9fb732bf8ff1b262a92507e8736b1bf.zip
op-kernel-dev-73c1377da9fb732bf8ff1b262a92507e8736b1bf.tar.gz
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/lib/Makefile')
-rw-r--r--arch/sparc/lib/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/lib/Makefile b/arch/sparc/lib/Makefile
index a3fc437..33d8d85 100644
--- a/arch/sparc/lib/Makefile
+++ b/arch/sparc/lib/Makefile
@@ -13,7 +13,7 @@ lib-y += memscan_$(BITS).o memcmp.o strncmp_$(BITS).o
lib-y += strncpy_from_user_$(BITS).o strlen_user_$(BITS).o
lib-$(CONFIG_SPARC32) += divdi3.o udivdi3.o
lib-$(CONFIG_SPARC32) += copy_user.o locks.o
-lib-y += atomic_$(BITS).o
+lib-$(CONFIG_SPARC64) += atomic_64.o
lib-$(CONFIG_SPARC32) += lshrdi3.o ashldi3.o
lib-$(CONFIG_SPARC32) += muldi3.o bitext.o cmpdi2.o
OpenPOWER on IntegriCloud