From cf3f211b57cd04cbf5d38b383d2d5776fade7047 Mon Sep 17 00:00:00 2001 From: andrew Date: Thu, 7 Sep 2017 18:58:55 +0000 Subject: [PATCH] Use the correct mask when printing undecoded fields from the ID_AA64MMFR2_EL1 register. Sponsored by: DARPA, AFRL --- sys/arm64/arm64/identcpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/arm64/arm64/identcpu.c b/sys/arm64/arm64/identcpu.c index 3995e82beaf2..e753e9264444 100644 --- a/sys/arm64/arm64/identcpu.c +++ b/sys/arm64/arm64/identcpu.c @@ -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"); }