[PATCH] i386/x86-64: Update AMD CPUID flags
Print bits for RDTSCP, SVM, CR8-LEGACY. Also now print power flags on i386 like x86-64 always did. This will add a new line in the 386 cpuinfo, but that shouldn't be an issue - did that in the past too and I haven't heard of any breakage. I shrunk some of the fields in the i386 cpuinfo_x86 to chars to make up for the new int "x86_power" field. Overall it's smaller than before. Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
152bf8c55d
commit
3f98bc4991
@@ -61,9 +61,11 @@ struct cpuinfo_x86 {
|
||||
int x86_cache_size; /* in KB - valid for CPUS which support this
|
||||
call */
|
||||
int x86_cache_alignment; /* In bytes */
|
||||
int fdiv_bug;
|
||||
int f00f_bug;
|
||||
int coma_bug;
|
||||
char fdiv_bug;
|
||||
char f00f_bug;
|
||||
char coma_bug;
|
||||
char pad0;
|
||||
int x86_power;
|
||||
unsigned long loops_per_jiffy;
|
||||
unsigned char x86_max_cores; /* cpuid returned max cores value */
|
||||
unsigned char booted_cores; /* number of cores as seen by OS */
|
||||
|
Reference in New Issue
Block a user