Skip to content

Commit a955d75

Browse files
committed
fixup! arm64: Implement Apple IMPDEF TSO memory model control
1 parent bb8fb2b commit a955d75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm64/include/asm/cpufeature.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -905,7 +905,7 @@ static inline unsigned int get_vmid_bits(u64 mmfr1)
905905
static __always_inline bool system_has_actlr_state(void)
906906
{
907907
return IS_ENABLED(CONFIG_ARM64_ACTLR_STATE) &&
908-
cpus_have_const_cap(ARM64_HAS_TSO_APPLE);
908+
alternative_has_cap_unlikely(ARM64_HAS_TSO_APPLE);
909909
}
910910

911911
s64 arm64_ftr_safe_value(const struct arm64_ftr_bits *ftrp, s64 new, s64 cur);

0 commit comments

Comments
 (0)