aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/smp.h
diff options
context:
space:
mode:
authorGlauber Costa <gcosta@redhat.com>2008-03-03 12:13:09 -0500
committerIngo Molnar <mingo@elte.hu>2008-04-17 11:40:56 -0400
commit420688293927a590d092ec76ef97c2565ae21aff (patch)
tree03dfb10406094bb146cebe487cb9c2c7232feee8 /include/asm-x86/smp.h
parent89b08200ad8bc8fb860da218c4f3bcc292bf286c (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.h6
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;
9extern int smp_num_siblings; 9extern int smp_num_siblings;
10extern unsigned int num_processors; 10extern unsigned int num_processors;
11 11
12/*
13 * Trampoline 80x86 program as an array.
14 */
15extern const unsigned char trampoline_data [];
16extern const unsigned char trampoline_end [];
17
12struct smp_ops { 18struct 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);