[PATCH] arm64: Remove system_uses_lse_atomics()

Catalin Marinas catalin.marinas at arm.com
Wed Oct 18 03:15:27 PDT 2023


On Tue, 17 Oct 2023 10:50:36 +1000, Gavin Shan wrote:
> There are two variants of system_uses_lse_atomics(), depending on
> CONFIG_ARM64_LSE_ATOMICS. The function isn't called anywhere when
> CONFIG_ARM64_LSE_ATOMICS is disabled. It can be directly replaced
> by alternative_has_cap_likely(ARM64_HAS_LSE_ATOMICS) when the kernel
> option is enabled.
> 
> No need to keep system_uses_lse_atomics() and just remove it.
> 
> [...]

Applied to arm64 (for-next/misc), thanks!

[1/1] arm64: Remove system_uses_lse_atomics()
      https://git.kernel.org/arm64/c/0899a6278a86

-- 
Catalin




More information about the linux-arm-kernel mailing list