diff options
author | Andi Kleen <ak@suse.de> | 2006-12-07 02:14:05 +0100 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2006-12-07 02:14:05 +0100 |
commit | 770d132f03ac15b12919f1bac481f4beda13e094 (patch) | |
tree | fdf8470cd380f2db1960102c928806f687f72938 /include/asm-i386 | |
parent | [PATCH] x86-64: Speed and clean up cache flushing in change_page_attr (diff) | |
download | linux-770d132f03ac15b12919f1bac481f4beda13e094.tar.xz 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')
-rw-r--r-- | include/asm-i386/processor.h | 1 |
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. */ |