Re: [PATCH 1/3] sparc64: use generic rwsem spinlocks rt

From: Sebastian Andrzej Siewior
Date: Mon Dec 16 2013 - 05:26:58 EST


On 12/16/2013 05:07 AM, Allen Pais wrote:
> --- a/arch/sparc/Kconfig
> +++ b/arch/sparc/Kconfig
> @@ -179,12 +179,10 @@ config NR_CPUS
> source kernel/Kconfig.hz
>
> config RWSEM_GENERIC_SPINLOCK
> - bool
> - default y if SPARC32
> + def_bool PREEMPT_RT_FULL
>
> config RWSEM_XCHGADD_ALGORITHM
> - bool
> - default y if SPARC64
> + def_bool !RWSEM_GENERIC_SPINLOCK && !PREEMPT_RT_FULL
>
> config GENERIC_HWEIGHT
> bool


davem won't apply this because the PREEMPT_RT symbol is not available
upstream. I referred to patch two+.

Sebastian
--
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/