diff options
| author | Peter Zijlstra <peterz@infradead.org> | 2013-10-31 13:14:17 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2013-11-06 01:55:08 -0500 |
| commit | 8eddac3f103736163f49255bcb109edadea167f6 (patch) | |
| tree | cd3161b76bb7a7e2614817d0ba66446676e6b677 /kernel/locking/Makefile | |
| parent | 01768b42dc97a67b4fb33a2535c49fc1969880df (diff) | |
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/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 @@ | |||
| 2 | obj-y += mutex.o | 2 | obj-y += mutex.o |
| 3 | 3 | ||
| 4 | ifdef CONFIG_FUNCTION_TRACER | 4 | ifdef CONFIG_FUNCTION_TRACER |
| 5 | CFLAGS_REMOVE_lockdep.o = -pg | ||
| 6 | CFLAGS_REMOVE_lockdep_proc.o = -pg | ||
| 5 | CFLAGS_REMOVE_mutex-debug.o = -pg | 7 | CFLAGS_REMOVE_mutex-debug.o = -pg |
| 6 | CFLAGS_REMOVE_rtmutex-debug.o = -pg | 8 | CFLAGS_REMOVE_rtmutex-debug.o = -pg |
| 7 | endif | 9 | endif |
| 8 | 10 | ||
| 9 | obj-$(CONFIG_DEBUG_MUTEXES) += mutex-debug.o | 11 | obj-$(CONFIG_DEBUG_MUTEXES) += mutex-debug.o |
| 12 | obj-$(CONFIG_LOCKDEP) += lockdep.o | ||
| 13 | ifeq ($(CONFIG_PROC_FS),y) | ||
| 14 | obj-$(CONFIG_LOCKDEP) += lockdep_proc.o | ||
| 15 | endif | ||
