mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 14:11:20 +00:00
locking: Move the rtmutex 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-p9ijt8div0hwldexwfm4nlhj@git.kernel.org [ Fixed build failure in kernel/rcu/tree_plugin.h. ] Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
parent
e25a64c401
commit
1696a8bee3
10 changed files with 5 additions and 5 deletions
|
@ -35,9 +35,6 @@ 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
|
||||||
endif
|
endif
|
||||||
obj-$(CONFIG_RT_MUTEXES) += rtmutex.o
|
|
||||||
obj-$(CONFIG_DEBUG_RT_MUTEXES) += rtmutex-debug.o
|
|
||||||
obj-$(CONFIG_RT_MUTEX_TESTER) += rtmutex-tester.o
|
|
||||||
obj-$(CONFIG_GENERIC_ISA_DMA) += dma.o
|
obj-$(CONFIG_GENERIC_ISA_DMA) += dma.o
|
||||||
obj-$(CONFIG_SMP) += smp.o
|
obj-$(CONFIG_SMP) += smp.o
|
||||||
ifneq ($(CONFIG_SMP),y)
|
ifneq ($(CONFIG_SMP),y)
|
||||||
|
|
|
@ -66,7 +66,7 @@
|
||||||
|
|
||||||
#include <asm/futex.h>
|
#include <asm/futex.h>
|
||||||
|
|
||||||
#include "rtmutex_common.h"
|
#include "locking/rtmutex_common.h"
|
||||||
|
|
||||||
int __read_mostly futex_cmpxchg_enabled;
|
int __read_mostly futex_cmpxchg_enabled;
|
||||||
|
|
||||||
|
|
|
@ -15,5 +15,8 @@ obj-$(CONFIG_LOCKDEP) += lockdep_proc.o
|
||||||
endif
|
endif
|
||||||
obj-$(CONFIG_SMP) += spinlock.o
|
obj-$(CONFIG_SMP) += spinlock.o
|
||||||
obj-$(CONFIG_PROVE_LOCKING) += spinlock.o
|
obj-$(CONFIG_PROVE_LOCKING) += spinlock.o
|
||||||
|
obj-$(CONFIG_RT_MUTEXES) += rtmutex.o
|
||||||
|
obj-$(CONFIG_DEBUG_RT_MUTEXES) += rtmutex-debug.o
|
||||||
|
obj-$(CONFIG_RT_MUTEX_TESTER) += rtmutex-tester.o
|
||||||
obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock.o
|
obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock.o
|
||||||
obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock_debug.o
|
obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock_debug.o
|
||||||
|
|
|
@ -1133,7 +1133,7 @@ void exit_rcu(void)
|
||||||
|
|
||||||
#ifdef CONFIG_RCU_BOOST
|
#ifdef CONFIG_RCU_BOOST
|
||||||
|
|
||||||
#include "../rtmutex_common.h"
|
#include "../locking/rtmutex_common.h"
|
||||||
|
|
||||||
#ifdef CONFIG_RCU_TRACE
|
#ifdef CONFIG_RCU_TRACE
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue