]> Pileus Git - ~andy/linux/commitdiff
locking: Move the rtmutex code to kernel/locking/
authorPeter Zijlstra <peterz@infradead.org>
Thu, 31 Oct 2013 17:18:19 +0000 (18:18 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 6 Nov 2013 08:23:59 +0000 (09:23 +0100)
Suggested-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/n/tip-p9ijt8div0hwldexwfm4nlhj@git.kernel.org
[ Fixed build failure in kernel/rcu/tree_plugin.h. ]
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/Makefile
kernel/futex.c
kernel/locking/Makefile
kernel/locking/rtmutex-debug.c [moved from kernel/rtmutex-debug.c with 100% similarity]
kernel/locking/rtmutex-debug.h [moved from kernel/rtmutex-debug.h with 100% similarity]
kernel/locking/rtmutex-tester.c [moved from kernel/rtmutex-tester.c with 100% similarity]
kernel/locking/rtmutex.c [moved from kernel/rtmutex.c with 100% similarity]
kernel/locking/rtmutex.h [moved from kernel/rtmutex.h with 100% similarity]
kernel/locking/rtmutex_common.h [moved from kernel/rtmutex_common.h with 100% similarity]
kernel/rcu/tree_plugin.h

index 45e5ae26dc039795f6acff99691c0624dd87a7c6..9c2ad18522234bd6d90323b0a30a36fb91d0b5fc 100644 (file)
@@ -35,9 +35,6 @@ obj-$(CONFIG_FUTEX) += futex.o
 ifeq ($(CONFIG_COMPAT),y)
 obj-$(CONFIG_FUTEX) += futex_compat.o
 endif
-obj-$(CONFIG_RT_MUTEXES) += rtmutex.o
-obj-$(CONFIG_DEBUG_RT_MUTEXES) += rtmutex-debug.o
-obj-$(CONFIG_RT_MUTEX_TESTER) += rtmutex-tester.o
 obj-$(CONFIG_GENERIC_ISA_DMA) += dma.o
 obj-$(CONFIG_SMP) += smp.o
 ifneq ($(CONFIG_SMP),y)
index c3a1a55a52141851630b91f2bff2aa789b508ace..80ba086f021d3022afcf3f06ecdb1d920cdc8f7c 100644 (file)
@@ -66,7 +66,7 @@
 
 #include <asm/futex.h>
 
-#include "rtmutex_common.h"
+#include "locking/rtmutex_common.h"
 
 int __read_mostly futex_cmpxchg_enabled;
 
index 5978fddf141262aef61b5179148d71e7726a284c..59f66dec2bf9e3efc8884b1676225d37b3e22e66 100644 (file)
@@ -15,5 +15,8 @@ obj-$(CONFIG_LOCKDEP) += lockdep_proc.o
 endif
 obj-$(CONFIG_SMP) += spinlock.o
 obj-$(CONFIG_PROVE_LOCKING) += spinlock.o
+obj-$(CONFIG_RT_MUTEXES) += rtmutex.o
+obj-$(CONFIG_DEBUG_RT_MUTEXES) += rtmutex-debug.o
+obj-$(CONFIG_RT_MUTEX_TESTER) += rtmutex-tester.o
 obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock.o
 obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock_debug.o
similarity index 100%
rename from kernel/rtmutex.c
rename to kernel/locking/rtmutex.c
similarity index 100%
rename from kernel/rtmutex.h
rename to kernel/locking/rtmutex.h
index 3822ac0c4b2732dfd39982b74138a1960fa47a21..6abb03dff5c053f44ef5dbc28f7bf754e5669e78 100644 (file)
@@ -1133,7 +1133,7 @@ void exit_rcu(void)
 
 #ifdef CONFIG_RCU_BOOST
 
-#include "../rtmutex_common.h"
+#include "../locking/rtmutex_common.h"
 
 #ifdef CONFIG_RCU_TRACE