diff options
author | Paul Bolle <pebolle@tiscali.nl> | 2013-05-17 04:51:33 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-05-28 02:50:00 -0400 |
commit | 4eedb77a9cd8f2e68b31c8b9a20524a50727c16f (patch) | |
tree | ce8cf5dfedd6664f52bdd5d11f3ecfa4f4642791 /kernel/Kconfig.locks | |
parent | e4aa937ec75df0eea0bee03bffa3303ad36c986b (diff) |
locking: Fix copy/paste errors of "ARCH_INLINE_*_UNLOCK_BH"
The Kconfig symbols ARCH_INLINE_READ_UNLOCK_IRQ,
ARCH_INLINE_SPIN_UNLOCK_IRQ, and ARCH_INLINE_WRITE_UNLOCK_IRQ were added
in v2.6.33, but have never actually been used. Ingo Molnar spotted that
this is caused by three identical copy/paste erros. Eg, the Kconfig
entry for
INLINE_READ_UNLOCK_IRQ
has an (optional) dependency on:
ARCH_INLINE_READ_UNLOCK_BH
were it apparently should depend on:
ARCH_INLINE_READ_UNLOCK_IRQ
instead. Likewise for the Kconfig entries for INLINE_SPIN_UNLOCK_IRQ and
INLINE_WRITE_UNLOCK_IRQ. Fix these three errors.
This never really caused any real problems as these symbols are set (or
unset) in a group - but it's worth fixing it nevertheless.
Reported-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1368780693.1350.228.camel@x61.thuisdomein
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/Kconfig.locks')
-rw-r--r-- | kernel/Kconfig.locks | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/Kconfig.locks b/kernel/Kconfig.locks index 44511d100eaa..d2b32ac27a39 100644 --- a/kernel/Kconfig.locks +++ b/kernel/Kconfig.locks | |||
@@ -138,7 +138,7 @@ config INLINE_SPIN_UNLOCK_BH | |||
138 | 138 | ||
139 | config INLINE_SPIN_UNLOCK_IRQ | 139 | config INLINE_SPIN_UNLOCK_IRQ |
140 | def_bool y | 140 | def_bool y |
141 | depends on !PREEMPT || ARCH_INLINE_SPIN_UNLOCK_BH | 141 | depends on !PREEMPT || ARCH_INLINE_SPIN_UNLOCK_IRQ |
142 | 142 | ||
143 | config INLINE_SPIN_UNLOCK_IRQRESTORE | 143 | config INLINE_SPIN_UNLOCK_IRQRESTORE |
144 | def_bool y | 144 | def_bool y |
@@ -175,7 +175,7 @@ config INLINE_READ_UNLOCK_BH | |||
175 | 175 | ||
176 | config INLINE_READ_UNLOCK_IRQ | 176 | config INLINE_READ_UNLOCK_IRQ |
177 | def_bool y | 177 | def_bool y |
178 | depends on !PREEMPT || ARCH_INLINE_READ_UNLOCK_BH | 178 | depends on !PREEMPT || ARCH_INLINE_READ_UNLOCK_IRQ |
179 | 179 | ||
180 | config INLINE_READ_UNLOCK_IRQRESTORE | 180 | config INLINE_READ_UNLOCK_IRQRESTORE |
181 | def_bool y | 181 | def_bool y |
@@ -212,7 +212,7 @@ config INLINE_WRITE_UNLOCK_BH | |||
212 | 212 | ||
213 | config INLINE_WRITE_UNLOCK_IRQ | 213 | config INLINE_WRITE_UNLOCK_IRQ |
214 | def_bool y | 214 | def_bool y |
215 | depends on !PREEMPT || ARCH_INLINE_WRITE_UNLOCK_BH | 215 | depends on !PREEMPT || ARCH_INLINE_WRITE_UNLOCK_IRQ |
216 | 216 | ||
217 | config INLINE_WRITE_UNLOCK_IRQRESTORE | 217 | config INLINE_WRITE_UNLOCK_IRQRESTORE |
218 | def_bool y | 218 | def_bool y |