summaryrefslogtreecommitdiffstats
path: root/include/asm-x86
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2008-07-08 15:06:29 -0700
committerIngo Molnar <mingo@elte.hu>2008-07-16 10:55:07 +0200
commit7c33b1e6ee26d67551109aca04d46544d0ce55b1 (patch)
tree260ccaf268a4e981d95b152857e4c25e20b03ad8 /include/asm-x86
parent360c044eb1b985a9ef29d952276a3e14973bed93 (diff)
downloadblackbird-op-linux-7c33b1e6ee26d67551109aca04d46544d0ce55b1.tar.gz
blackbird-op-linux-7c33b1e6ee26d67551109aca04d46544d0ce55b1.zip
x86_64: unstatic get_local_pda
This allows Xen's xen_cpu_up() to allocate a pda for the new CPU. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Cc: Stephen Tweedie <sct@redhat.com> Cc: Eduardo Habkost <ehabkost@redhat.com> Cc: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86')
-rw-r--r--include/asm-x86/smp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-x86/smp.h b/include/asm-x86/smp.h
index c2784b3e0b77..3c877f74f279 100644
--- a/include/asm-x86/smp.h
+++ b/include/asm-x86/smp.h
@@ -25,6 +25,8 @@ extern cpumask_t cpu_callin_map;
extern void (*mtrr_hook)(void);
extern void zap_low_mappings(void);
+extern int __cpuinit get_local_pda(int cpu);
+
extern int smp_num_siblings;
extern unsigned int num_processors;
extern cpumask_t cpu_initialized;
OpenPOWER on IntegriCloud