|
@@ -56,9 +56,6 @@ do { \
|
|
* If the lock has already been acquired, then this will proceed to spin
|
|
* If the lock has already been acquired, then this will proceed to spin
|
|
* on this node->locked until the previous lock holder sets the node->locked
|
|
* on this node->locked until the previous lock holder sets the node->locked
|
|
* in mcs_spin_unlock().
|
|
* in mcs_spin_unlock().
|
|
- *
|
|
|
|
- * We don't inline mcs_spin_lock() so that perf can correctly account for the
|
|
|
|
- * time spent in this lock function.
|
|
|
|
*/
|
|
*/
|
|
static inline
|
|
static inline
|
|
void mcs_spin_lock(struct mcs_spinlock **lock, struct mcs_spinlock *node)
|
|
void mcs_spin_lock(struct mcs_spinlock **lock, struct mcs_spinlock *node)
|