summaryrefslogtreecommitdiff
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorGavin Shan <gshan@redhat.com>2023-10-17 10:50:36 +1000
committerCatalin Marinas <catalin.marinas@arm.com>2023-10-18 10:58:59 +0100
commit0899a6278a86b32e0b9d55f68f265519306a5be0 (patch)
tree1ad984cfebe305e3be2696662962886ccca3be71 /drivers/clocksource
parentdba2ff4922b3cf573c25c3886e869258a6076030 (diff)
arm64: Remove system_uses_lse_atomics()
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. Signed-off-by: Gavin Shan <gshan@redhat.com> Acked-by: Mark Rutland <mark.rutland@arm.com> Link: https://lore.kernel.org/r/20231017005036.334067-1-gshan@redhat.com Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'drivers/clocksource')
0 files changed, 0 insertions, 0 deletions