Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 66f5fb94 authored by Will Deacon's avatar Will Deacon Committed by Joonwoo Park
Browse files

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: default avatarCatalin Marinas <catalin.marinas@arm.com>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Git-commit: be6209a6107e0f63544e3e7d00fd5c95434ec80a
Signed-off-by: default avatarJoonwoo Park <joonwoop@codeaurora.org>
parent 2f222247
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment