aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/setup.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-03-30 09:07:54 +0200
committerIngo Molnar <mingo@kernel.org>2017-03-30 09:07:54 +0200
commit73fa1362a7f337d149f76d26b6c6845cb38c1af9 (patch)
tree8b66c4e1995515b366f3bbe1f908d8c214c27e06 /arch/x86/kernel/setup.c
parentx86/dump_pagetables: Add support for 5-level paging (diff)
parentx86/cpu: Drop wp_works_ok member of struct cpuinfo_x86 (diff)
downloadlinux-dev-73fa1362a7f337d149f76d26b6c6845cb38c1af9.tar.xz
linux-dev-73fa1362a7f337d149f76d26b6c6845cb38c1af9.zip
Merge branch 'x86/cpu' into x86/mm, before applying dependent patch
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel/setup.c')
-rw-r--r--arch/x86/kernel/setup.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index 56b1177155db..1302c47c5ce1 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -173,14 +173,11 @@ static struct resource bss_resource = {
#ifdef CONFIG_X86_32
-/* cpu data as detected by the assembly code in head.S */
-struct cpuinfo_x86 new_cpu_data = {
- .wp_works_ok = -1,
-};
+/* cpu data as detected by the assembly code in head_32.S */
+struct cpuinfo_x86 new_cpu_data;
+
/* common cpu data for all cpus */
-struct cpuinfo_x86 boot_cpu_data __read_mostly = {
- .wp_works_ok = -1,
-};
+struct cpuinfo_x86 boot_cpu_data __read_mostly;
EXPORT_SYMBOL(boot_cpu_data);
unsigned int def_to_bigsmp;