PERFORCE change 133388 for review
Warner Losh
imp at FreeBSD.org
Tue Jan 15 18:10:02 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=133388
Change 133388 by imp at imp_lighthouse on 2008/01/16 02:09:01
fix obvious typo in the dcache printing routine.
Obtained from: cavium
Affected files ...
.. //depot/projects/mips2/src/sys/mips/mips/cpu.c#20 edit
Differences ...
==== //depot/projects/mips2/src/sys/mips/mips/cpu.c#20 (text+ko) ====
@@ -243,15 +243,15 @@
}
printf(" L1 d-cache: ");
- if (cpuinfo.l1.ic_linesize == 0) {
+ if (cpuinfo.l1.dc_linesize == 0) {
printf("disabled");
} else {
- if (cpuinfo.l1.ic_nways == 1) {
+ if (cpuinfo.l1.dc_nways == 1) {
printf("direct-mapped with");
} else {
- printf ("%d ways of", cpuinfo.l1.ic_nways);
+ printf ("%d ways of", cpuinfo.l1.dc_nways);
}
- printf(" %d sets, %d bytes per line\n", cpuinfo.l1.ic_nsets, cpuinfo.l1.ic_linesize);
+ printf(" %d sets, %d bytes per line\n", cpuinfo.l1.dc_nsets, cpuinfo.l1.dc_linesize);
}
}
More information about the p4-projects
mailing list