diff options
Diffstat (limited to 'arch/powerpc/platforms/cell/smp.c')
| -rw-r--r-- | arch/powerpc/platforms/cell/smp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/cell/smp.c b/arch/powerpc/platforms/cell/smp.c index 90745eaa45fe..c8017a7bcabd 100644 --- a/arch/powerpc/platforms/cell/smp.c +++ b/arch/powerpc/platforms/cell/smp.c | |||
| @@ -40,6 +40,7 @@ | |||
| 40 | #include <asm/firmware.h> | 40 | #include <asm/firmware.h> |
| 41 | #include <asm/rtas.h> | 41 | #include <asm/rtas.h> |
| 42 | #include <asm/cputhreads.h> | 42 | #include <asm/cputhreads.h> |
| 43 | #include <asm/code-patching.h> | ||
| 43 | 44 | ||
| 44 | #include "interrupt.h" | 45 | #include "interrupt.h" |
| 45 | #include <asm/udbg.h> | 46 | #include <asm/udbg.h> |
| @@ -70,8 +71,8 @@ static cpumask_t of_spin_map; | |||
| 70 | static inline int smp_startup_cpu(unsigned int lcpu) | 71 | static inline int smp_startup_cpu(unsigned int lcpu) |
| 71 | { | 72 | { |
| 72 | int status; | 73 | int status; |
| 73 | unsigned long start_here = __pa((u32)*((unsigned long *) | 74 | unsigned long start_here = |
| 74 | generic_secondary_smp_init)); | 75 | __pa(ppc_function_entry(generic_secondary_smp_init)); |
| 75 | unsigned int pcpu; | 76 | unsigned int pcpu; |
| 76 | int start_cpu; | 77 | int start_cpu; |
| 77 | 78 | ||
