summaryrefslogtreecommitdiff
path: root/Cyrix
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2009-12-10 21:27:44 -0500
committerDave Jones <davej@redhat.com>2009-12-10 21:27:44 -0500
commit375d469eeb15fbcfd831f7b66a0715f42a91a451 (patch)
treed4cfee51c5ab11bd908d30b0de38c9afdef16723 /Cyrix
parenta8af3758826f545b289a40ecefa627de1e5e9e90 (diff)
Intel CPU topology reworking.
This steals lots of code from the kernel, and munges it to work with userspace. In doing so, I renamed a bunch of x86info's struct cpudata members to match the kernels struct cpu_data, just to make it easier to sync any future changes.
Diffstat (limited to 'Cyrix')
-rw-r--r--Cyrix/identify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cyrix/identify.c b/Cyrix/identify.c
index f72009f..cf56109 100644
--- a/Cyrix/identify.c
+++ b/Cyrix/identify.c
@@ -79,7 +79,7 @@ void display_Cyrix_info(struct cpudata *cpu)
unsigned int eax, ebx, ecx, edx;
printf("TLB & L1 Cache info\n");
- if (cpu->maxi >= 2 && show_cacheinfo) {
+ if (cpu->cpuid_level >= 2 && show_cacheinfo) {
/* TLB and L1 Cache info */
ntlb = 255;
for (i = 0; i < ntlb; i++) {