diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-07-24 01:15:28 +0200 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-08-20 02:12:44 +0200 |
commit | cf54dc7cd4f9aab55cd3e1794b0b74c3c88cd1a0 (patch) | |
tree | d76b0914de720b5654af092af6e5245a49e62df6 /arch/powerpc/include/asm/smp.h | |
parent | powerpc: Clean ifdef usage in copy_thread() (diff) | |
download | linux-cf54dc7cd4f9aab55cd3e1794b0b74c3c88cd1a0.tar.xz linux-cf54dc7cd4f9aab55cd3e1794b0b74c3c88cd1a0.zip |
powerpc: Move definitions of secondary CPU spinloop to header file
Those definitions are currently declared extern in the .c file where
they are used, move them to a header file instead.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/smp.h')
-rw-r--r-- | arch/powerpc/include/asm/smp.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/smp.h b/arch/powerpc/include/asm/smp.h index c25f73d1d842..e782f43ee669 100644 --- a/arch/powerpc/include/asm/smp.h +++ b/arch/powerpc/include/asm/smp.h @@ -148,6 +148,15 @@ extern struct smp_ops_t *smp_ops; extern void arch_send_call_function_single_ipi(int cpu); extern void arch_send_call_function_ipi(cpumask_t mask); +/* Definitions relative to the secondary CPU spin loop + * and entry point. Not all of them exist on both 32 and + * 64-bit but defining them all here doesn't harm + */ +extern void generic_secondary_smp_init(void); +extern unsigned long __secondary_hold_spinloop; +extern unsigned long __secondary_hold_acknowledge; +extern char __secondary_hold; + #endif /* __ASSEMBLY__ */ #endif /* __KERNEL__ */ |