aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-i386
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2006-12-06 20:14:05 -0500
committerAndi Kleen <andi@basil.nowhere.org>2006-12-06 20:14:05 -0500
commit770d132f03ac15b12919f1bac481f4beda13e094 (patch)
treefdf8470cd380f2db1960102c928806f687f72938 /include/asm-i386
parentea7322decb974a4a3e804f96a0201e893ff88ce3 (diff)
[PATCH] i386: Retrieve CLFLUSH size from CPUID
Also report it in /proc/cpuinfo similar to x86-64. Needed for followon patch Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'include/asm-i386')
-rw-r--r--include/asm-i386/processor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-i386/processor.h b/include/asm-i386/processor.h
index f73cf836e649..98fa73b71760 100644
--- a/include/asm-i386/processor.h
+++ b/include/asm-i386/processor.h
@@ -72,6 +72,7 @@ struct cpuinfo_x86 {
72#endif 72#endif
73 unsigned char x86_max_cores; /* cpuid returned max cores value */ 73 unsigned char x86_max_cores; /* cpuid returned max cores value */
74 unsigned char apicid; 74 unsigned char apicid;
75 unsigned short x86_clflush_size;
75#ifdef CONFIG_SMP 76#ifdef CONFIG_SMP
76 unsigned char booted_cores; /* number of cores as seen by OS */ 77 unsigned char booted_cores; /* number of cores as seen by OS */
77 __u8 phys_proc_id; /* Physical processor id. */ 78 __u8 phys_proc_id; /* Physical processor id. */