summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2015-08-25 07:44:49 (GMT)
committerIngo Molnar <mingo@kernel.org>2015-08-25 07:44:49 (GMT)
commitf612a7b1a7f1b5139f228724ce340aac24720591 (patch)
treed75f83de54578908af0484d25bcfcb8e650e1cf2 /include
parent9b9412dc7008f360c8e8ed10a654d3c8719f69d8 (diff)
parent12d560f4ea87030667438a169912380be00cea4b (diff)
downloadlinux-f612a7b1a7f1b5139f228724ce340aac24720591.tar.xz
Merge branch 'for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu into core/rcu
Pull RCU cleanup from Paul E. McKenney: "Privatize smp_mb__after_unlock_lock(). This commit moves the definition of smp_mb__after_unlock_lock() to kernel/rcu/tree.h, in recognition of the fact that RCU is the only thing using this, that nothing else is likely to use it, and that it is likely to go away completely." Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/spinlock.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/spinlock.h b/include/linux/spinlock.h
index 0063b24..16c5ed5 100644
--- a/include/linux/spinlock.h
+++ b/include/linux/spinlock.h
@@ -130,16 +130,6 @@ do { \
#define smp_mb__before_spinlock() smp_wmb()
#endif
-/*
- * Place this after a lock-acquisition primitive to guarantee that
- * an UNLOCK+LOCK pair act as a full barrier. This guarantee applies
- * if the UNLOCK and LOCK are executed by the same CPU or if the
- * UNLOCK and LOCK operate on the same lock variable.
- */
-#ifndef smp_mb__after_unlock_lock
-#define smp_mb__after_unlock_lock() do { } while (0)
-#endif
-
/**
* raw_spin_unlock_wait - wait until the spinlock gets unlocked
* @lock: the spinlock in question.