mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
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>
This commit is contained in:
parent
01768b42dc
commit
8eddac3f10
6 changed files with 6 additions and 6 deletions
|
@ -14,8 +14,6 @@ obj-y = fork.o exec_domain.o panic.o \
|
||||||
|
|
||||||
ifdef CONFIG_FUNCTION_TRACER
|
ifdef CONFIG_FUNCTION_TRACER
|
||||||
# Do not trace debug files and internal ftrace files
|
# 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_cgroup-debug.o = -pg
|
||||||
CFLAGS_REMOVE_irq_work.o = -pg
|
CFLAGS_REMOVE_irq_work.o = -pg
|
||||||
endif
|
endif
|
||||||
|
@ -33,10 +31,6 @@ obj-$(CONFIG_FREEZER) += freezer.o
|
||||||
obj-$(CONFIG_PROFILING) += profile.o
|
obj-$(CONFIG_PROFILING) += profile.o
|
||||||
obj-$(CONFIG_STACKTRACE) += stacktrace.o
|
obj-$(CONFIG_STACKTRACE) += stacktrace.o
|
||||||
obj-y += time/
|
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
|
obj-$(CONFIG_FUTEX) += futex.o
|
||||||
ifeq ($(CONFIG_COMPAT),y)
|
ifeq ($(CONFIG_COMPAT),y)
|
||||||
obj-$(CONFIG_FUTEX) += futex_compat.o
|
obj-$(CONFIG_FUTEX) += futex_compat.o
|
||||||
|
|
|
@ -2,8 +2,14 @@
|
||||||
obj-y += mutex.o
|
obj-y += mutex.o
|
||||||
|
|
||||||
ifdef CONFIG_FUNCTION_TRACER
|
ifdef CONFIG_FUNCTION_TRACER
|
||||||
|
CFLAGS_REMOVE_lockdep.o = -pg
|
||||||
|
CFLAGS_REMOVE_lockdep_proc.o = -pg
|
||||||
CFLAGS_REMOVE_mutex-debug.o = -pg
|
CFLAGS_REMOVE_mutex-debug.o = -pg
|
||||||
CFLAGS_REMOVE_rtmutex-debug.o = -pg
|
CFLAGS_REMOVE_rtmutex-debug.o = -pg
|
||||||
endif
|
endif
|
||||||
|
|
||||||
obj-$(CONFIG_DEBUG_MUTEXES) += mutex-debug.o
|
obj-$(CONFIG_DEBUG_MUTEXES) += mutex-debug.o
|
||||||
|
obj-$(CONFIG_LOCKDEP) += lockdep.o
|
||||||
|
ifeq ($(CONFIG_PROC_FS),y)
|
||||||
|
obj-$(CONFIG_LOCKDEP) += lockdep_proc.o
|
||||||
|
endif
|
||||||
|
|
Loading…
Reference in a new issue