svn commit: r276191 - head/sys/arm/arm

Ian Lepore ian at FreeBSD.org
Wed Dec 24 19:47:51 UTC 2014


Author: ian
Date: Wed Dec 24 19:47:50 2014
New Revision: 276191
URL: https://svnweb.freebsd.org/changeset/base/276191

Log:
  Display the correct value for cache Level of Coherency.  Like the other
  levels being displayed here, its value needs a +1 adjustment.

Modified:
  head/sys/arm/arm/identcpu.c

Modified: head/sys/arm/arm/identcpu.c
==============================================================================
--- head/sys/arm/arm/identcpu.c	Wed Dec 24 18:54:31 2014	(r276190)
+++ head/sys/arm/arm/identcpu.c	Wed Dec 24 19:47:50 2014	(r276191)
@@ -457,7 +457,7 @@ identify_arm_cpu(void)
 
 	if (arm_cache_level) {
 		printf("LoUU:%d LoC:%d LoUIS:%d \n", CPU_CLIDR_LOUU(arm_cache_level) + 1,
-		    arm_cache_loc, CPU_CLIDR_LOUIS(arm_cache_level) + 1);
+		    arm_cache_loc + 1, CPU_CLIDR_LOUIS(arm_cache_level) + 1);
 		i = 0;
 		while (((type = CPU_CLIDR_CTYPE(arm_cache_level, i)) != 0) && i < 7) {
 			printf("Cache level %d: \n", i + 1);


More information about the svn-src-head mailing list