svn commit: r323279 - head/sys/arm64/arm64
Andrew Turner
andrew at FreeBSD.org
Thu Sep 7 18:58:57 UTC 2017
Author: andrew
Date: Thu Sep 7 18:58:55 2017
New Revision: 323279
URL: https://svnweb.freebsd.org/changeset/base/323279
Log:
Use the correct mask when printing undecoded fields from the
ID_AA64MMFR2_EL1 register.
Sponsored by: DARPA, AFRL
Modified:
head/sys/arm64/arm64/identcpu.c
Modified: head/sys/arm64/arm64/identcpu.c
==============================================================================
--- head/sys/arm64/arm64/identcpu.c Thu Sep 7 18:54:54 2017 (r323278)
+++ head/sys/arm64/arm64/identcpu.c Thu Sep 7 18:58:55 2017 (r323279)
@@ -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");
}
More information about the svn-src-head
mailing list