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");
        }
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to