Files
linux-stable-mirror/arch/arm64/include/asm
Mark Rutland a94cf76604 arm64: atomics: lse: remove stale dependency on JUMP_LABEL
commit 657eef0a54 upstream.

Currently CONFIG_ARM64_USE_LSE_ATOMICS depends upon CONFIG_JUMP_LABEL,
as the inline atomics were indirected with a static branch.

However, since commit:

  21fb26bfb0 ("arm64: alternatives: add alternative_has_feature_*()")

... we use an alternative_branch (which is always available) rather than
a static branch, and hence the dependency is unnecessary.

Remove the stale dependency, along with the stale include. This will
allow the use of LSE atomics in kernels built with CONFIG_JUMP_LABEL=n,
and reduces the risk of circular header dependencies via <asm/lse.h>.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20221114125424.2998268-1-mark.rutland@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Oleksandr Tymoshenko <ovt@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-05-25 16:21:34 +02:00
..
2022-09-26 10:13:14 -07:00
2022-06-23 18:22:44 +01:00
2022-09-26 10:13:14 -07:00
2022-09-06 18:53:52 +01:00
2022-07-11 21:04:58 +02:00
2022-09-26 10:13:14 -07:00
2022-07-22 17:34:57 -05:00
2022-09-16 12:17:03 +01:00