Use the correct mask when printing undecoded fields from the

ID_AA64MMFR2_EL1 register.

Sponsored by:	DARPA, AFRL
This commit is contained in:
andrew 2017-09-07 18:58:55 +00:00
parent 054ccb502d
commit cf3f211b57

View File

@ -743,7 +743,7 @@ print_cpu_features(u_int cpu)
if ((cpu_desc[cpu].id_aa64mmfr2 & ~ID_AA64MMFR2_MASK) != 0)
printf("%s%#lx", SEP_STR,
cpu_desc[cpu].id_aa64mmfr2 & ~ID_AA64MMFR1_MASK);
cpu_desc[cpu].id_aa64mmfr2 & ~ID_AA64MMFR2_MASK);
printf(">\n");
}