summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/smp.h
diff options
context:
space:
mode:
authorGlauber Costa <gcosta@redhat.com>2008-03-03 14:13:09 -0300
committerIngo Molnar <mingo@elte.hu>2008-04-17 17:40:56 +0200
commit420688293927a590d092ec76ef97c2565ae21aff (patch)
tree03dfb10406094bb146cebe487cb9c2c7232feee8 /include/asm-x86/smp.h
parent89b08200ad8bc8fb860da218c4f3bcc292bf286c (diff)
downloadop-kernel-dev-420688293927a590d092ec76ef97c2565ae21aff.zip
op-kernel-dev-420688293927a590d092ec76ef97c2565ae21aff.tar.gz
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 27d9f65..b2a1697 100644
--- a/include/asm-x86/smp.h
+++ b/include/asm-x86/smp.h
@@ -9,6 +9,12 @@ extern cpumask_t cpu_callout_map;
extern int smp_num_siblings;
extern unsigned int num_processors;
+/*
+ * Trampoline 80x86 program as an array.
+ */
+extern const unsigned char trampoline_data [];
+extern const unsigned char trampoline_end [];
+
struct smp_ops {
void (*smp_prepare_boot_cpu)(void);
void (*smp_prepare_cpus)(unsigned max_cpus);
OpenPOWER on IntegriCloud