]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: alternatives: Remove READ_ONCE() usage during patch operation
authorWill Deacon <will@kernel.org>
Tue, 30 Jun 2020 13:06:04 +0000 (14:06 +0100)
committerWill Deacon <will@kernel.org>
Mon, 9 Nov 2020 21:49:34 +0000 (21:49 +0000)
commitbaae93184d337427d59f5f4699729ef7a81d36c9
treed03a81f28e700510c36cb556ac168b8585bb4018
parent9d5235f4acd8cb42487b0eef5db79cf53725a8ee
arm64: alternatives: Remove READ_ONCE() usage during patch operation

In preparation for patching the internals of READ_ONCE() itself, replace
its usage on the alternatives patching patch with a volatile variable
instead.

Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/alternative.c