[PATCH 6/6] arm64: barriers: use barrier() instead of smp_mb() when !SMP
Catalin Marinas
catalin.marinas at arm.com
Thu Feb 6 06:56:47 EST 2014
On Thu, Feb 06, 2014 at 11:30:53AM +0000, Will Deacon wrote:
> The recently introduced acquire/release accessors refer to smp_mb()
> in the !CONFIG_SMP case. This is confusing when reading the code, so use
> barrier() directly when we know we're UP.
>
> Signed-off-by: Will Deacon <will.deacon at arm.com>
Acked-by: Catalin Marinas <catalin.marinas at arm.com>
More information about the linux-arm-kernel
mailing list