Re: [PATCH v2] locking: Fix copy/paste errors "ARCH_INLINE_*_UNLOCK_BH"

Peter Zijlstra
2013-05-17T10:18:24Z

On Fri, May 17, 2013 at 10:51:33AM +0200, Paul Bolle wrote:
> 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.
>
> Reported-by: Ingo Molnar <mingo@kernel.org>
> Signed-off-by: Paul Bolle <pebolle@tiscali.nl>

Thanks!