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>
This commit is contained in:
@ -1259,10 +1259,6 @@ static void __init prom_initialize_tce_table(void)
|
||||
*
|
||||
* -- Cort
|
||||
*/
|
||||
extern char __secondary_hold;
|
||||
extern unsigned long __secondary_hold_spinloop;
|
||||
extern unsigned long __secondary_hold_acknowledge;
|
||||
|
||||
/*
|
||||
* We want to reference the copy of __secondary_hold_* in the
|
||||
* 0 - 0x100 address range
|
||||
|
@ -230,9 +230,6 @@ void early_setup_secondary(void)
|
||||
#endif /* CONFIG_SMP */
|
||||
|
||||
#if defined(CONFIG_SMP) || defined(CONFIG_KEXEC)
|
||||
extern unsigned long __secondary_hold_spinloop;
|
||||
extern void generic_secondary_smp_init(void);
|
||||
|
||||
void smp_release_cpus(void)
|
||||
{
|
||||
unsigned long *ptr;
|
||||
|
Reference in New Issue
Block a user