Correctly report L2 cache size according to its code comment.

Tested on my Dual PIII machine.
This commit is contained in:
David Xu 2006-02-02 06:35:50 +00:00
parent 604afec496
commit 7aa9d01bf4

View File

@ -1627,8 +1627,8 @@ get_INTEL_TLB(u_int data, int *const size, int *const ways)
case 0x82: case 0x82:
/* 2nd-level cache: 256-KB, 8-way set associative, /* 2nd-level cache: 256-KB, 8-way set associative,
* 32 byte line size */ * 32 byte line size */
if (*size < 128) { if (*size < 256) {
*size = 128; *size = 256;
*ways = 8; *ways = 8;
} }
break; break;