- Make i/d cache size field 32-bit to prevent overflow

Submited by: Neelkanth Natu
This commit is contained in:
Oleksandr Tymoshenko 2009-08-10 01:49:59 +00:00
parent 11e9b8bad1
commit 5bbfa759e2

View File

@ -57,11 +57,11 @@ struct mips_cpuinfo {
u_int16_t tlb_nentries;
u_int8_t icache_virtual;
struct {
u_int8_t ic_size;
u_int32_t ic_size;
u_int8_t ic_linesize;
u_int8_t ic_nways;
u_int16_t ic_nsets;
u_int8_t dc_size;
u_int32_t dc_size;
u_int8_t dc_linesize;
u_int8_t dc_nways;
u_int16_t dc_nsets;