]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
locking: Move the lockdep code to kernel/locking/
authorPeter Zijlstra <peterz@infradead.org>
Thu, 31 Oct 2013 17:14:17 +0000 (18:14 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 6 Nov 2013 06:55:08 +0000 (07:55 +0100)
Suggested-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/n/tip-wl7s3tta5isufzfguc23et06@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/Makefile
kernel/locking/Makefile
kernel/locking/lockdep.c [moved from kernel/lockdep.c with 100% similarity]
kernel/locking/lockdep_internals.h [moved from kernel/lockdep_internals.h with 100% similarity]
kernel/locking/lockdep_proc.c [moved from kernel/lockdep_proc.c with 100% similarity]
kernel/locking/lockdep_states.h [moved from kernel/lockdep_states.h with 100% similarity]

index 330b14666475a6b108d2dbc2a59f9870ce65eb00..4fffd6ee42c17425c812da2d98bb5b9dd8eff76d 100644 (file)
@@ -14,8 +14,6 @@ obj-y     = fork.o exec_domain.o panic.o \
 
 ifdef CONFIG_FUNCTION_TRACER
 # Do not trace debug files and internal ftrace files
-CFLAGS_REMOVE_lockdep.o = -pg
-CFLAGS_REMOVE_lockdep_proc.o = -pg
 CFLAGS_REMOVE_cgroup-debug.o = -pg
 CFLAGS_REMOVE_irq_work.o = -pg
 endif
@@ -33,10 +31,6 @@ obj-$(CONFIG_FREEZER) += freezer.o
 obj-$(CONFIG_PROFILING) += profile.o
 obj-$(CONFIG_STACKTRACE) += stacktrace.o
 obj-y += time/
-obj-$(CONFIG_LOCKDEP) += lockdep.o
-ifeq ($(CONFIG_PROC_FS),y)
-obj-$(CONFIG_LOCKDEP) += lockdep_proc.o
-endif
 obj-$(CONFIG_FUTEX) += futex.o
 ifeq ($(CONFIG_COMPAT),y)
 obj-$(CONFIG_FUTEX) += futex_compat.o
index fe8bd58b22f8c26fb4413426cb02984cb2165be5..c103599fc1ba6d665fd66f067d79c4e780ab26a9 100644 (file)
@@ -2,8 +2,14 @@
 obj-y += mutex.o
 
 ifdef CONFIG_FUNCTION_TRACER
+CFLAGS_REMOVE_lockdep.o = -pg
+CFLAGS_REMOVE_lockdep_proc.o = -pg
 CFLAGS_REMOVE_mutex-debug.o = -pg
 CFLAGS_REMOVE_rtmutex-debug.o = -pg
 endif
 
 obj-$(CONFIG_DEBUG_MUTEXES) += mutex-debug.o
+obj-$(CONFIG_LOCKDEP) += lockdep.o
+ifeq ($(CONFIG_PROC_FS),y)
+obj-$(CONFIG_LOCKDEP) += lockdep_proc.o
+endif
similarity index 100%
rename from kernel/lockdep.c
rename to kernel/locking/lockdep.c