diff options
author | Alexey Starikovskiy <astarikovskiy@suse.de> | 2008-04-04 15:41:44 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:41:35 -0400 |
commit | 2fe60147570231cde0d1f14711d2e34ccdf54b65 (patch) | |
tree | 83c1e87d9ce3475b68c97f51f95be0467c83a61d /include/asm-x86/smp.h | |
parent | 350bae1d3f0d0c763c5bb9cc5fb5c363bd0086db (diff) |
x86: move up & smp variables to setup.c
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/smp.h')
-rw-r--r-- | include/asm-x86/smp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-x86/smp.h b/include/asm-x86/smp.h index d973c11688ce..3496e1c299b2 100644 --- a/include/asm-x86/smp.h +++ b/include/asm-x86/smp.h | |||
@@ -128,7 +128,6 @@ int native_cpu_up(unsigned int cpunum); | |||
128 | extern int __cpu_disable(void); | 128 | extern int __cpu_disable(void); |
129 | extern void __cpu_die(unsigned int cpu); | 129 | extern void __cpu_die(unsigned int cpu); |
130 | 130 | ||
131 | extern unsigned disabled_cpus; | ||
132 | extern void prefill_possible_map(void); | 131 | extern void prefill_possible_map(void); |
133 | 132 | ||
134 | #define SMP_TRAMPOLINE_BASE 0x6000 | 133 | #define SMP_TRAMPOLINE_BASE 0x6000 |
@@ -144,6 +143,8 @@ static inline int num_booting_cpus(void) | |||
144 | } | 143 | } |
145 | #endif /* CONFIG_SMP */ | 144 | #endif /* CONFIG_SMP */ |
146 | 145 | ||
146 | extern unsigned disabled_cpus __cpuinitdata; | ||
147 | |||
147 | #ifdef CONFIG_X86_32_SMP | 148 | #ifdef CONFIG_X86_32_SMP |
148 | /* | 149 | /* |
149 | * This function is needed by all SMP systems. It must _always_ be valid | 150 | * This function is needed by all SMP systems. It must _always_ be valid |