Commit cb3c8b90 authored by Glauber de Oliveira Costa's avatar Glauber de Oliveira Costa Committed by Ingo Molnar

x86: integrate do_boot_cpu

This is a very large patch, because it depends on a lot
of auxiliary static functions. But they all have been modified
to the point that they're sufficiently close now. So they're just
merged in smpboot.c
Signed-off-by: default avatarGlauber Costa <gcosta@redhat.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent c70dcb74
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -9,6 +9,7 @@ extern cpumask_t cpu_callout_map; ...@@ -9,6 +9,7 @@ extern cpumask_t cpu_callout_map;
extern int smp_num_siblings; extern int smp_num_siblings;
extern unsigned int num_processors; extern unsigned int num_processors;
extern cpumask_t cpu_initialized;
extern u16 x86_cpu_to_apicid_init[]; extern u16 x86_cpu_to_apicid_init[];
extern u16 x86_bios_cpu_apicid_init[]; extern u16 x86_bios_cpu_apicid_init[];
...@@ -34,6 +35,8 @@ extern struct { ...@@ -34,6 +35,8 @@ extern struct {
unsigned short ss; unsigned short ss;
} stack_start; } stack_start;
extern unsigned long init_rsp;
extern unsigned long initial_code;
struct smp_ops { struct smp_ops {
void (*smp_prepare_boot_cpu)(void); void (*smp_prepare_boot_cpu)(void);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment