OSDN Git Service

locking: Move mcs_spinlock.h into kernel/locking/
authorPeter Zijlstra <peterz@infradead.org>
Mon, 3 Feb 2014 12:32:16 +0000 (13:32 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 11 Mar 2014 11:14:52 +0000 (12:14 +0100)
commitc9122da1e2d29bd6a1475a0d1ce2aa6ac6ea25fa
tree23170aeccc3fc597b97472529ef3dfb7fd42769e
parente571c58f313d35c56e0018470e3375ddd1fd320e
locking: Move mcs_spinlock.h into kernel/locking/

The mcs_spinlock code is not meant (or suitable) as a generic locking
primitive, therefore take it away from the normal includes and place
it in kernel/locking/.

This way the locking primitives implemented there can use it as part
of their implementation but we do not risk it getting used
inapropriately.

Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/n/tip-byirmpamgr7h25m5kyavwpzx@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/locking/mcs_spinlock.h [moved from include/linux/mcs_spinlock.h with 100% similarity]
kernel/locking/mutex.c