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

Reply via email to