aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/kernel/cpu/common_64.c6
-rw-r--r--arch/x86/kernel/setup.c6
-rw-r--r--arch/x86/kernel/setup_32.c6
3 files changed, 6 insertions, 12 deletions
diff --git a/arch/x86/kernel/cpu/common_64.c b/arch/x86/kernel/cpu/common_64.c
index 9fb5b7caaa89..39eaefbcec06 100644
--- a/arch/x86/kernel/cpu/common_64.c
+++ b/arch/x86/kernel/cpu/common_64.c
@@ -421,12 +421,6 @@ static __init int setup_disablecpuid(char *arg)
421} 421}
422__setup("clearcpuid=", setup_disablecpuid); 422__setup("clearcpuid=", setup_disablecpuid);
423 423
424#ifndef CONFIG_DEBUG_BOOT_PARAMS
425struct boot_params __initdata boot_params;
426#else
427struct boot_params boot_params;
428#endif
429
430cpumask_t cpu_initialized __cpuinitdata = CPU_MASK_NONE; 424cpumask_t cpu_initialized __cpuinitdata = CPU_MASK_NONE;
431 425
432struct x8664_pda **_cpu_pda __read_mostly; 426struct x8664_pda **_cpu_pda __read_mostly;
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index 5497fb9b00a0..5c0c4bb5727d 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -15,6 +15,12 @@
15#include <asm/apicdef.h> 15#include <asm/apicdef.h>
16#include <asm/highmem.h> 16#include <asm/highmem.h>
17 17
18#ifndef CONFIG_DEBUG_BOOT_PARAMS
19struct boot_params __initdata boot_params;
20#else
21struct boot_params boot_params;
22#endif
23
18#ifdef CONFIG_X86_LOCAL_APIC 24#ifdef CONFIG_X86_LOCAL_APIC
19unsigned int num_processors; 25unsigned int num_processors;
20unsigned disabled_cpus __cpuinitdata; 26unsigned disabled_cpus __cpuinitdata;
diff --git a/arch/x86/kernel/setup_32.c b/arch/x86/kernel/setup_32.c
index 90b51047ce63..3149f434d7d0 100644
--- a/arch/x86/kernel/setup_32.c
+++ b/arch/x86/kernel/setup_32.c
@@ -163,12 +163,6 @@ unsigned long saved_video_mode;
163 163
164static char __initdata command_line[COMMAND_LINE_SIZE]; 164static char __initdata command_line[COMMAND_LINE_SIZE];
165 165
166#ifndef CONFIG_DEBUG_BOOT_PARAMS
167struct boot_params __initdata boot_params;
168#else
169struct boot_params boot_params;
170#endif
171
172#if defined(CONFIG_EDD) || defined(CONFIG_EDD_MODULE) 166#if defined(CONFIG_EDD) || defined(CONFIG_EDD_MODULE)
173struct edd edd; 167struct edd edd;
174#ifdef CONFIG_EDD_MODULE 168#ifdef CONFIG_EDD_MODULE