Re: [PATCH]arch:Kconfig.locks Remove unused config option.

From: Steven Rostedt
Date: Tue Mar 29 2011 - 13:53:18 EST


On Tue, Mar 29, 2011 at 09:36:51AM -0700, Justin P. Mattock wrote:
> using a cleanup script I found this, could be real/fake not sure
> I grepped the whole kernel and only found this. If/when you have
> time let me know..

This was added by: 36cd3c9f925b9307236505ae7ad1ad7ac4d4357c
mutex: have non-spinning mutexes on s390 by default

and removed by: fa188ae1657d6edc7963d524ce9a0650fe725242
[S390] mutex: enable spinning mutex on s390

So I think you are safe in removing it.

Thanks!

>
> Signed-off-by: Justin P. Mattock <justinmattock@xxxxxxxxx>

Acked-by: Steven Rostedt <rostedt@xxxxxxxxxxx>

-- Steve

>
> ---
> arch/Kconfig | 3 ---
> kernel/Kconfig.locks | 2 +-
> 2 files changed, 1 insertions(+), 4 deletions(-)
>
> diff --git a/arch/Kconfig b/arch/Kconfig
> index f78c2be..8d24bac 100644
> --- a/arch/Kconfig
> +++ b/arch/Kconfig
> @@ -144,9 +144,6 @@ config HAVE_CLK
> config HAVE_DMA_API_DEBUG
> bool
>
> -config HAVE_DEFAULT_NO_SPIN_MUTEXES
> - bool
> -
> config HAVE_HW_BREAKPOINT
> bool
> depends on PERF_EVENTS
> diff --git a/kernel/Kconfig.locks b/kernel/Kconfig.locks
> index 88c92fb..5e62baf 100644
> --- a/kernel/Kconfig.locks
> +++ b/kernel/Kconfig.locks
> @@ -199,4 +199,4 @@ config INLINE_WRITE_UNLOCK_IRQRESTORE
> def_bool !DEBUG_SPINLOCK && ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
>
> config MUTEX_SPIN_ON_OWNER
> - def_bool SMP && !DEBUG_MUTEXES && !HAVE_DEFAULT_NO_SPIN_MUTEXES
> + def_bool SMP && !DEBUG_MUTEXES
> --
> 1.7.4.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/