Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 161703
b: refs/heads/master
c: cf54dc7
h: refs/heads/master
i:
  161701: ff8c5ed
  161699: d101a05
  161695: e1ae089
v: v3
  • Loading branch information
Benjamin Herrenschmidt committed Aug 20, 2009
1 parent 86ddbb9 commit 587d1ea
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 747bea91b764aefd59091ebff80f182282f1d23c
refs/heads/master: cf54dc7cd4f9aab55cd3e1794b0b74c3c88cd1a0
9 changes: 9 additions & 0 deletions trunk/arch/powerpc/include/asm/smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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__ */
Expand Down
4 changes: 0 additions & 4 deletions trunk/arch/powerpc/kernel/prom_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions trunk/arch/powerpc/kernel/setup_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/powerpc/platforms/85xx/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@

#include <sysdev/fsl_soc.h>

extern volatile unsigned long __secondary_hold_acknowledge;
extern void __early_start(void);

#define BOOT_ENTRY_ADDR_UPPER 0
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/powerpc/platforms/86xx/mpc86xx_smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include "mpc86xx.h"

extern void __secondary_start_mpc86xx(void);
extern unsigned long __secondary_hold_acknowledge;

#define MCM_PORT_CONFIG_OFFSET 0x10

Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/powerpc/platforms/cell/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@
*/
static cpumask_t of_spin_map;

extern void generic_secondary_smp_init(unsigned long);

/**
* smp_startup_cpu() - start the given cpu
*
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/powerpc/platforms/pseries/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@
*/
static cpumask_t of_spin_map;

extern void generic_secondary_smp_init(unsigned long);

/**
* smp_startup_cpu() - start the given cpu
*
Expand Down

0 comments on commit 587d1ea

Please sign in to comment.