diff options
Diffstat (limited to 'arch/powerpc/platforms/pseries/smp.c')
| -rw-r--r-- | arch/powerpc/platforms/pseries/smp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/pseries/smp.c b/arch/powerpc/platforms/pseries/smp.c index 24f58cb0a543..a3555b10c1a5 100644 --- a/arch/powerpc/platforms/pseries/smp.c +++ b/arch/powerpc/platforms/pseries/smp.c | |||
| @@ -44,6 +44,7 @@ | |||
| 44 | #include <asm/xics.h> | 44 | #include <asm/xics.h> |
| 45 | #include <asm/dbell.h> | 45 | #include <asm/dbell.h> |
| 46 | #include <asm/plpar_wrappers.h> | 46 | #include <asm/plpar_wrappers.h> |
| 47 | #include <asm/code-patching.h> | ||
| 47 | 48 | ||
| 48 | #include "pseries.h" | 49 | #include "pseries.h" |
| 49 | #include "offline_states.h" | 50 | #include "offline_states.h" |
| @@ -96,8 +97,8 @@ int smp_query_cpu_stopped(unsigned int pcpu) | |||
| 96 | static inline int smp_startup_cpu(unsigned int lcpu) | 97 | static inline int smp_startup_cpu(unsigned int lcpu) |
| 97 | { | 98 | { |
| 98 | int status; | 99 | int status; |
| 99 | unsigned long start_here = __pa((u32)*((unsigned long *) | 100 | unsigned long start_here = |
| 100 | generic_secondary_smp_init)); | 101 | __pa(ppc_function_entry(generic_secondary_smp_init)); |
| 101 | unsigned int pcpu; | 102 | unsigned int pcpu; |
| 102 | int start_cpu; | 103 | int start_cpu; |
| 103 | 104 | ||
