diff --git a/target-arm/helper.c b/target-arm/helper.c index ae4f334e40a5b4c1725f1ec077088766d6fb9d09..4b03197a18bebaa00bb809c6d57f11b51fc50acf 100644 --- a/target-arm/helper.c +++ b/target-arm/helper.c @@ -948,7 +948,7 @@ static inline int check_ap(CPUState *env, int ap, int domain, int access_type, case 6: return prot_ro; case 7: - if (!arm_feature (env, ARM_FEATURE_V7)) + if (!arm_feature (env, ARM_FEATURE_V6K)) return 0; return prot_ro; default: