aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/bitops_64.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-11-15 13:33:25 -0800
committerDavid S. Miller <davem@davemloft.net>2008-12-04 09:16:47 -0800
commit293666b7a17cb7a389fc274980439212386a19c4 (patch)
tree075cc7661d2113cf04da7130b3383979d8024206 /arch/sparc/include/asm/bitops_64.h
parentsparc64: Run the kernel always in the TSO memory model. (diff)
downloadlinux-293666b7a17cb7a389fc274980439212386a19c4.tar.gz
linux-293666b7a17cb7a389fc274980439212386a19c4.zip
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>
Diffstat (limited to 'arch/sparc/include/asm/bitops_64.h')
-rw-r--r--arch/sparc/include/asm/bitops_64.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/sparc/include/asm/bitops_64.h b/arch/sparc/include/asm/bitops_64.h
index bb87b8080220..e72ac9cdfb98 100644
--- a/arch/sparc/include/asm/bitops_64.h
+++ b/arch/sparc/include/asm/bitops_64.h
@@ -23,13 +23,8 @@ extern void change_bit(unsigned long nr, volatile unsigned long *addr);
#include <asm-generic/bitops/non-atomic.h>
-#ifdef CONFIG_SMP
-#define smp_mb__before_clear_bit() membar_storeload_loadload()
-#define smp_mb__after_clear_bit() membar_storeload_storestore()
-#else
#define smp_mb__before_clear_bit() barrier()
#define smp_mb__after_clear_bit() barrier()
-#endif
#include <asm-generic/bitops/ffz.h>
#include <asm-generic/bitops/__ffs.h>
='2014-03-31 18:17:13 +0200'>2014-03-31MIPS: Fix warning when including smp-ops.h with CONFIG_SMP=nPaul Burton1-3/+3 2014-03-31MIPS: Malta: GIC IPIs may be used without MTPaul Burton1-8/+11 2014-03-31MIPS: smp-mt: Use common GIC IPI implementationPaul Burton2-22/+2 2014-03-31MIPS: smp-cmp: Remove incorrect core number probePaul Burton1-2/+1 2014-03-31MIPS: Fix gigaton of warning building with microMIPS.Ralf Baechle18-84/+84 2014-03-31MIPS: Fix core number detection for MT coresPaul Burton1-1/+5 2014-03-31MIPS: MT: core_nvpes function to retrieve VPE countPaul Burton1-0/+11 2014-03-31MIPS: Provide empty mips_mt_set_cpuoptions when CONFIG_MIPS_MT=nPaul Burton1-0/+5 2014-03-31MIPS: Lasat: Replace del_timer by del_timer_syncJulia Lawall1-1/+1 2014-03-31MIPS: Malta: Setup PM I/O region on bootPaul Burton2-0/+18