summaryrefslogtreecommitdiffstats
path: root/arch/arm64/lib/delay.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm64/lib/delay.c')
-rw-r--r--arch/arm64/lib/delay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/lib/delay.c b/arch/arm64/lib/delay.c
index 5b7890139b..cb2062e7e2 100644
--- a/arch/arm64/lib/delay.c
+++ b/arch/arm64/lib/delay.c
@@ -27,7 +27,7 @@ void __delay(unsigned long cycles)
{
cycles_t start = get_cycles();
- if (cpus_have_const_cap(ARM64_HAS_WFXT)) {
+ if (alternative_has_cap_unlikely(ARM64_HAS_WFXT)) {
u64 end = start + cycles;
/*