diff options
| author | Peter Zijlstra <[email protected]> | 2013-10-31 18:14:17 +0100 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2013-11-06 07:55:08 +0100 |
| commit | 8eddac3f103736163f49255bcb109edadea167f6 (patch) | |
| tree | cd3161b76bb7a7e2614817d0ba66446676e6b677 /kernel/locking/Makefile | |
| parent | 01768b42dc97a67b4fb33a2535c49fc1969880df (diff) | |
locking: Move the lockdep code to kernel/locking/
Suggested-by: Ingo Molnar <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'kernel/locking/Makefile')
| -rw-r--r-- | kernel/locking/Makefile | 6 |
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 |