diff options
Diffstat (limited to 'arch/sh/kernel')
-rw-r--r-- | arch/sh/kernel/cpu/sh2/entry.S | 1 | ||||
-rw-r--r-- | arch/sh/kernel/smp.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/arch/sh/kernel/cpu/sh2/entry.S b/arch/sh/kernel/cpu/sh2/entry.S index 7a26569e7956..0fc89069d8c7 100644 --- a/arch/sh/kernel/cpu/sh2/entry.S +++ b/arch/sh/kernel/cpu/sh2/entry.S | |||
@@ -267,7 +267,6 @@ ENTRY(sh_bios_handler) | |||
267 | 267 | ||
268 | ENTRY(address_error_trap_handler) | 268 | ENTRY(address_error_trap_handler) |
269 | mov r15,r4 ! regs | 269 | mov r15,r4 ! regs |
270 | add #4,r4 | ||
271 | mov #OFF_PC,r0 | 270 | mov #OFF_PC,r0 |
272 | mov.l @(r0,r15),r6 ! pc | 271 | mov.l @(r0,r15),r6 ! pc |
273 | mov.l 1f,r0 | 272 | mov.l 1f,r0 |
diff --git a/arch/sh/kernel/smp.c b/arch/sh/kernel/smp.c index 94075e1a1e61..5d039d168f57 100644 --- a/arch/sh/kernel/smp.c +++ b/arch/sh/kernel/smp.c | |||
@@ -179,7 +179,7 @@ void smp_send_stop(void) | |||
179 | } | 179 | } |
180 | 180 | ||
181 | struct smp_fn_call_struct smp_fn_call = { | 181 | struct smp_fn_call_struct smp_fn_call = { |
182 | .lock = SPIN_LOCK_UNLOCKED, | 182 | .lock = __SPIN_LOCK_UNLOCKED(smp_fn_call.lock), |
183 | .finished = ATOMIC_INIT(0), | 183 | .finished = ATOMIC_INIT(0), |
184 | }; | 184 | }; |
185 | 185 | ||