diff options
Diffstat (limited to 'arch/x86/kernel/cpu/common.c')
-rw-r--r-- | arch/x86/kernel/cpu/common.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c index 591012fb949f..f60409081cb0 100644 --- a/arch/x86/kernel/cpu/common.c +++ b/arch/x86/kernel/cpu/common.c | |||
@@ -115,6 +115,13 @@ DEFINE_PER_CPU_PAGE_ALIGNED(struct gdt_page, gdt_page) = { .gdt = { | |||
115 | } }; | 115 | } }; |
116 | EXPORT_PER_CPU_SYMBOL_GPL(gdt_page); | 116 | EXPORT_PER_CPU_SYMBOL_GPL(gdt_page); |
117 | 117 | ||
118 | static int __init x86_xsave_setup(char *s) | ||
119 | { | ||
120 | setup_clear_cpu_cap(X86_FEATURE_XSAVE); | ||
121 | return 1; | ||
122 | } | ||
123 | __setup("noxsave", x86_xsave_setup); | ||
124 | |||
118 | #ifdef CONFIG_X86_32 | 125 | #ifdef CONFIG_X86_32 |
119 | static int cachesize_override __cpuinitdata = -1; | 126 | static int cachesize_override __cpuinitdata = -1; |
120 | static int disable_x86_serial_nr __cpuinitdata = 1; | 127 | static int disable_x86_serial_nr __cpuinitdata = 1; |