From: Will Deacon Date: Fri, 2 May 2014 15:24:12 +0000 (+0100) Subject: arm64: barriers: use barrier() instead of smp_mb() when !SMP X-Git-Tag: omap-for-v3.16/fixes-against-rc1~91^2~10^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be6209a6107e0f63544e3e7d00fd5c95434ec80a;p=pandora-kernel.git arm64: barriers: use barrier() instead of smp_mb() when !SMP 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. Acked-by: Catalin Marinas Signed-off-by: Will Deacon Signed-off-by: Catalin Marinas --- Reading git-diff-tree failed