diff options
Diffstat (limited to 'arch/powerpc/platforms/86xx')
-rw-r--r-- | arch/powerpc/platforms/86xx/mpc86xx_smp.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/powerpc/platforms/86xx/mpc86xx_smp.c b/arch/powerpc/platforms/86xx/mpc86xx_smp.c index 63f55853cd69..835f2dc24dc9 100644 --- a/arch/powerpc/platforms/86xx/mpc86xx_smp.c +++ b/arch/powerpc/platforms/86xx/mpc86xx_smp.c | |||
@@ -57,8 +57,7 @@ smp_86xx_kick_cpu(int nr) | |||
57 | unsigned int save_vector; | 57 | unsigned int save_vector; |
58 | unsigned long target, flags; | 58 | unsigned long target, flags; |
59 | int n = 0; | 59 | int n = 0; |
60 | volatile unsigned int *vector | 60 | unsigned int *vector = (unsigned int *)(KERNELBASE + 0x100); |
61 | = (volatile unsigned int *)(KERNELBASE + 0x100); | ||
62 | 61 | ||
63 | if (nr < 0 || nr >= NR_CPUS) | 62 | if (nr < 0 || nr >= NR_CPUS) |
64 | return; | 63 | return; |
@@ -72,7 +71,7 @@ smp_86xx_kick_cpu(int nr) | |||
72 | 71 | ||
73 | /* Setup fake reset vector to call __secondary_start_mpc86xx. */ | 72 | /* Setup fake reset vector to call __secondary_start_mpc86xx. */ |
74 | target = (unsigned long) __secondary_start_mpc86xx; | 73 | target = (unsigned long) __secondary_start_mpc86xx; |
75 | create_branch((unsigned long)vector, target, BRANCH_SET_LINK); | 74 | patch_branch(vector, target, BRANCH_SET_LINK); |
76 | 75 | ||
77 | /* Kick that CPU */ | 76 | /* Kick that CPU */ |
78 | smp_86xx_release_core(nr); | 77 | smp_86xx_release_core(nr); |