summaryrefslogtreecommitdiffstats
path: root/include/asm-i386/processor.h
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2006-12-07 02:14:05 +0100
committerAndi Kleen <andi@basil.nowhere.org>2006-12-07 02:14:05 +0100
commit770d132f03ac15b12919f1bac481f4beda13e094 (patch)
treefdf8470cd380f2db1960102c928806f687f72938 /include/asm-i386/processor.h
parentea7322decb974a4a3e804f96a0201e893ff88ce3 (diff)
downloadlinux-770d132f03ac15b12919f1bac481f4beda13e094.tar.gz
linux-770d132f03ac15b12919f1bac481f4beda13e094.tar.bz2
linux-770d132f03ac15b12919f1bac481f4beda13e094.zip
[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/processor.h')
-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 {
#endif
unsigned char x86_max_cores; /* cpuid returned max cores value */
unsigned char apicid;
+ unsigned short x86_clflush_size;
#ifdef CONFIG_SMP
unsigned char booted_cores; /* number of cores as seen by OS */
__u8 phys_proc_id; /* Physical processor id. */