Hi Peter,
On Wed, Mar 19, 2014 at 10:47 AM, Peter Zijlstra <[email protected]> wrote:
> Xtensa SMP has ll/sc which is fully serializing, therefore its exising
One minor correction: current xtensa ISA doens't have ll/sc, it only
has cas (s32c1i instruction), which is fully serializing.
> smp_mb__{before,after}_clear_bit() appear unduly heavy.
>
> Implement the new barriers are barrier().
>
> Signed-off-by: Peter Zijlstra <[email protected]>
> ---
> arch/xtensa/include/asm/atomic.h | 7 +------
> arch/xtensa/include/asm/barrier.h | 3 +++
> arch/xtensa/include/asm/bitops.h | 4 +---
> 3 files changed, 5 insertions(+), 9 deletions(-)
--
Thanks.
-- Max
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/