diff options
author | Maarten Lankhorst <maarten.lankhorst@canonical.com> | 2013-07-05 09:29:32 +0200 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2016-01-07 21:46:53 +0900 |
commit | 001621b7544332b80fd1547b97b0c33f64b79778 (patch) | |
tree | fc3de7d70b2f101a5a45b4cec01188acd0fc1d65 /lib | |
parent | d6f26b500ce8446972c5a31d5d995bf4405f46c3 (diff) | |
download | linux-3.10-artik-001621b7544332b80fd1547b97b0c33f64b79778.tar.gz linux-3.10-artik-001621b7544332b80fd1547b97b0c33f64b79778.tar.bz2 linux-3.10-artik-001621b7544332b80fd1547b97b0c33f64b79778.zip |
mutex: Move ww_mutex definitions to ww_mutex.h
Move the definitions for wound/wait mutexes out to a separate
header, ww_mutex.h. This reduces clutter in mutex.h, and
increases readability.
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Rik van Riel <riel@redhat.com>
Acked-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Cc: Dave Airlie <airlied@gmail.com>
Link: http://lkml.kernel.org/r/51D675DC.3000907@canonical.com
[ Tidied up the code a bit. ]
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/locking-selftest.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/locking-selftest.c b/lib/locking-selftest.c index c3eb261a7df..fbabfc3f64e 100644 --- a/lib/locking-selftest.c +++ b/lib/locking-selftest.c @@ -12,6 +12,7 @@ */ #include <linux/rwsem.h> #include <linux/mutex.h> +#include <linux/ww_mutex.h> #include <linux/sched.h> #include <linux/delay.h> #include <linux/lockdep.h> |