summaryrefslogtreecommitdiff
path: root/kernel/locking/Makefile
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2013-10-31 21:14:17 +0400
committerIngo Molnar <mingo@kernel.org>2013-11-06 10:55:08 +0400
commit8eddac3f103736163f49255bcb109edadea167f6 (patch)
treecd3161b76bb7a7e2614817d0ba66446676e6b677 /kernel/locking/Makefile
parent01768b42dc97a67b4fb33a2535c49fc1969880df (diff)
downloadlinux-8eddac3f103736163f49255bcb109edadea167f6.tar.xz
locking: Move the lockdep code to kernel/locking/
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>
Diffstat (limited to 'kernel/locking/Makefile')
-rw-r--r--kernel/locking/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/locking/Makefile b/kernel/locking/Makefile
index fe8bd58b22f8..c103599fc1ba 100644
--- a/kernel/locking/Makefile
+++ b/kernel/locking/Makefile
@@ -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