]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: secondary_start_kernel: Remove unnecessary barrier
authorSuzuki K Poulose <suzuki.poulose@arm.com>
Tue, 10 May 2016 10:14:41 +0000 (11:14 +0100)
committerWill Deacon <will.deacon@arm.com>
Wed, 11 May 2016 09:11:37 +0000 (10:11 +0100)
commit982b8f471058a8af2efebc43bbe1ee6d1786fbf9
tree6a612396ddac86e340fd0eec78721e19395869f6
parent6ad75000539991c32934f11f407d4a5c53cd4d7c
arm64: secondary_start_kernel: Remove unnecessary barrier

Remove the unnecessary smp_wmb(), which was added to make sure
that the update_cpu_boot_status() completes before we mark the
CPU online. But update_cpu_boot_status() already has dsb() (required
for the failing CPUs) to ensure the correct behavior.

Cc: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Reported-by: Dennis Chen <dennis.chen@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/smp.c