mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
[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 <[email protected]>
This commit is contained in:
parent
ea7322decb
commit
770d132f03
3 changed files with 6 additions and 1 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Reference in a new issue