aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/setup.c
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-06-22 20:37:54 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-08 06:50:17 -0400
commit7f0be02c5ed1deb04c54c6a17f412e04f417df11 (patch)
tree5512d0801da2ef24c44d03ebf967ca8a2f821e1f /arch/x86/kernel/setup.c
parent225c37d71bc8b97eb2063e8eda153b383328b20b (diff)
x86: move boot_params declaring to setup.c
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/setup.c')
-rw-r--r--arch/x86/kernel/setup.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index 5497fb9b00a..5c0c4bb5727 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;