diff options
| author | Peter Zijlstra <peterz@infradead.org> | 2013-10-31 13:19:28 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2013-11-06 03:24:18 -0500 |
| commit | ed428bfc3caaa4b1e6cd15ea12c90c30291903f0 (patch) | |
| tree | 7e69731ab4951cb9473e96b2fd4b743321c6d770 /kernel/locking/Makefile | |
| parent | 1696a8bee390929fed05c6297164816ae2ced280 (diff) | |
locking: Move the rwsem code to kernel/locking/
Notably: changed lib/rwsem* targets from lib- to obj-, no idea about
the ramifications of that.
Suggested-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/n/tip-g0kynfh5feriwc6p3h6kpbw6@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/locking/Makefile')
| -rw-r--r-- | kernel/locking/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/locking/Makefile b/kernel/locking/Makefile index 59f66dec2bf9..b0e0d73516e3 100644 --- a/kernel/locking/Makefile +++ b/kernel/locking/Makefile | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | 1 | ||
| 2 | obj-y += mutex.o semaphore.o | 2 | obj-y += mutex.o semaphore.o rwsem.o |
| 3 | 3 | ||
| 4 | ifdef CONFIG_FUNCTION_TRACER | 4 | ifdef CONFIG_FUNCTION_TRACER |
| 5 | CFLAGS_REMOVE_lockdep.o = -pg | 5 | CFLAGS_REMOVE_lockdep.o = -pg |
| @@ -20,3 +20,5 @@ obj-$(CONFIG_DEBUG_RT_MUTEXES) += rtmutex-debug.o | |||
| 20 | obj-$(CONFIG_RT_MUTEX_TESTER) += rtmutex-tester.o | 20 | obj-$(CONFIG_RT_MUTEX_TESTER) += rtmutex-tester.o |
| 21 | obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock.o | 21 | obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock.o |
| 22 | obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock_debug.o | 22 | obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock_debug.o |
| 23 | obj-$(CONFIG_RWSEM_GENERIC_SPINLOCK) += rwsem-spinlock.o | ||
| 24 | obj-$(CONFIG_RWSEM_XCHGADD_ALGORITHM) += rwsem-xadd.o \ No newline at end of file | ||
