x86: add framework to disable CPUID bits on the command line
There are already various options to disable specific cpuid bits on the command line. They all use their own variable. Add a generic mask to make this easier in the future. Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
@@ -118,6 +118,7 @@ struct cpuinfo_x86 {
|
||||
extern struct cpuinfo_x86 boot_cpu_data;
|
||||
extern struct cpuinfo_x86 new_cpu_data;
|
||||
extern struct tss_struct doublefault_tss;
|
||||
extern __u32 cleared_cpu_caps[NCAPINTS];
|
||||
|
||||
#ifdef CONFIG_SMP
|
||||
DECLARE_PER_CPU(struct cpuinfo_x86, cpu_info);
|
||||
|
Reference in New Issue
Block a user