History

locking/mcs: Remove obsolete comment

... as we clearly inline mcs_spin_lock() now.

Davidlohr Bueso committed 12 years ago

Commit aa9fc0c1 parent 42fa5661 file · +0 −3Browse files

Showing the changes to kernel/locking (1 of 1 file). Show all

Unified · Split

kernel/locking/mcs_spinlock.h+0−3
@@ -56,9 +56,6 @@ do { \ · 55 unmodified lines
56 * If the lock has already been acquired, then this will proceed to spin56 * If the lock has already been acquired, then this will proceed to spin
57 * on this node->locked until the previous lock holder sets the node->locked57 * on this node->locked until the previous lock holder sets the node->locked
58 * in mcs_spin_unlock().58 * in mcs_spin_unlock().
59 *
60 * We don't inline mcs_spin_lock() so that perf can correctly account for the
61 * time spent in this lock function.
62 */59 */
63static inline60static inline
64void mcs_spin_lock(struct mcs_spinlock **lock, struct mcs_spinlock *node)61void mcs_spin_lock(struct mcs_spinlock **lock, struct mcs_spinlock *node)