mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Correctly report L2 cache size according to its code comment.
Tested on my Dual PIII machine.
This commit is contained in:
parent
604afec496
commit
7aa9d01bf4
1 changed files with 2 additions and 2 deletions
|
|
@ -1627,8 +1627,8 @@ get_INTEL_TLB(u_int data, int *const size, int *const ways)
|
|||
case 0x82:
|
||||
/* 2nd-level cache: 256-KB, 8-way set associative,
|
||||
* 32 byte line size */
|
||||
if (*size < 128) {
|
||||
*size = 128;
|
||||
if (*size < 256) {
|
||||
*size = 256;
|
||||
*ways = 8;
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue