[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAF0htA44Skgit5kE6g1zFQZr2byQeD_Ek5EmvQzQ6hT7nYb4qg@mail.gmail.com>
Date: Thu, 20 Mar 2014 02:53:50 +0800
From: Lennox Wu <lennox.wu@...il.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: linux-arch@...r.kernel.org,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 24/31] arch,score: Convert smp_mb__*
It's fine to S+core
Thanks :)
Acked-by: Lennox Wu<lennox.wu@...il.com>
2014-03-19 14:47 GMT+08:00 Peter Zijlstra <peterz@...radead.org>:
> score fully relies on asm-generic/barrier.h, so it can use its default
> implementation.
>
> Signed-off-by: Peter Zijlstra <peterz@...radead.org>
> ---
> arch/score/include/asm/bitops.h | 7 +------
> 1 file changed, 1 insertion(+), 6 deletions(-)
>
> --- a/arch/score/include/asm/bitops.h
> +++ b/arch/score/include/asm/bitops.h
> @@ -2,12 +2,7 @@
> #define _ASM_SCORE_BITOPS_H
>
> #include <asm/byteorder.h> /* swab32 */
> -
> -/*
> - * clear_bit() doesn't provide any barrier for the compiler.
> - */
> -#define smp_mb__before_clear_bit() barrier()
> -#define smp_mb__after_clear_bit() barrier()
> +#include <asm/barrier.h>
>
> #include <asm-generic/bitops.h>
> #include <asm-generic/bitops/__fls.h>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@...r.kernel.org
> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists