diff options
author | Glauber Costa <gcosta@redhat.com> | 2008-03-03 12:13:09 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:40:56 -0400 |
commit | 420688293927a590d092ec76ef97c2565ae21aff (patch) | |
tree | 03dfb10406094bb146cebe487cb9c2c7232feee8 /include/asm-x86/smp.h | |
parent | 89b08200ad8bc8fb860da218c4f3bcc292bf286c (diff) |
x86: move trampoline arrays extern definition to smp.h
In here, they can serve both architectures
Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/smp.h')
-rw-r--r-- | include/asm-x86/smp.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-x86/smp.h b/include/asm-x86/smp.h index 27d9f6595232..b2a1697e4700 100644 --- a/include/asm-x86/smp.h +++ b/include/asm-x86/smp.h | |||
@@ -9,6 +9,12 @@ extern cpumask_t cpu_callout_map; | |||
9 | extern int smp_num_siblings; | 9 | extern int smp_num_siblings; |
10 | extern unsigned int num_processors; | 10 | extern unsigned int num_processors; |
11 | 11 | ||
12 | /* | ||
13 | * Trampoline 80x86 program as an array. | ||
14 | */ | ||
15 | extern const unsigned char trampoline_data []; | ||
16 | extern const unsigned char trampoline_end []; | ||
17 | |||
12 | struct smp_ops { | 18 | struct smp_ops { |
13 | void (*smp_prepare_boot_cpu)(void); | 19 | void (*smp_prepare_boot_cpu)(void); |
14 | void (*smp_prepare_cpus)(unsigned max_cpus); | 20 | void (*smp_prepare_cpus)(unsigned max_cpus); |