sparc64: Stop using memory barriers for atomics and locks.
authorDavid S. Miller <davem@davemloft.net>
Sat, 15 Nov 2008 21:33:25 +0000 (13:33 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Dec 2008 17:16:47 +0000 (09:16 -0800)
commit293666b7a17cb7a389fc274980439212386a19c4
tree075cc7661d2113cf04da7130b3383979d8024206
parent64f2dde3f743c8a1ad8c0a1aa74166c1034afd92
sparc64: Stop using memory barriers for atomics and locks.

The kernel always executes in the TSO memory model now,
so none of this stuff is necessary any more.

With helpful feedback from Nick Piggin.

Signed-off-by: David S. Miller <davem@davemloft.net>
15 files changed:
arch/sparc/include/asm/atomic_64.h
arch/sparc/include/asm/bitops_64.h
arch/sparc/include/asm/spinlock_64.h
arch/sparc/include/asm/system_64.h
arch/sparc/include/asm/tsb.h
arch/sparc64/kernel/smp.c
arch/sparc64/kernel/trampoline.S
arch/sparc64/kernel/traps.c
arch/sparc64/kernel/tsb.S
arch/sparc64/lib/atomic.S
arch/sparc64/lib/bitops.S
arch/sparc64/lib/rwsem.S
arch/sparc64/mm/init.c
arch/sparc64/mm/tsb.c
arch/sparc64/mm/ultra.S