Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Sep 2017 18:58:56 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r323279 - head/sys/arm64/arm64
Message-ID:  <201709071858.v87Iwur4089492@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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");
 	}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709071858.v87Iwur4089492>