diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-07-08 22:06:29 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-16 08:55:07 (GMT) |
commit | 7c33b1e6ee26d67551109aca04d46544d0ce55b1 (patch) | |
tree | 260ccaf268a4e981d95b152857e4c25e20b03ad8 /arch | |
parent | 360c044eb1b985a9ef29d952276a3e14973bed93 (diff) | |
download | linux-7c33b1e6ee26d67551109aca04d46544d0ce55b1.tar.xz |
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 'arch')
-rw-r--r-- | arch/x86/kernel/smpboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index 687376a..1deb3b6 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c @@ -768,7 +768,7 @@ static void __cpuinit do_fork_idle(struct work_struct *work) * * Must be called after the _cpu_pda pointer table is initialized. */ -static int __cpuinit get_local_pda(int cpu) +int __cpuinit get_local_pda(int cpu) { struct x8664_pda *oldpda, *newpda; unsigned long size = sizeof(struct x8664_pda); |