diff options
Diffstat (limited to 'arch/h8300/platform/h8300h/entry.S')
-rw-r--r-- | arch/h8300/platform/h8300h/entry.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/h8300/platform/h8300h/entry.S b/arch/h8300/platform/h8300h/entry.S index d2dea2432fb2..f86ac3b5d4de 100644 --- a/arch/h8300/platform/h8300h/entry.S +++ b/arch/h8300/platform/h8300h/entry.S | |||
@@ -30,12 +30,12 @@ | |||
30 | mov.l er0,@-sp | 30 | mov.l er0,@-sp |
31 | 31 | ||
32 | stc ccr,r0l /* check kernel mode */ | 32 | stc ccr,r0l /* check kernel mode */ |
33 | orc #0x10,ccr | ||
34 | btst #4,r0l | 33 | btst #4,r0l |
35 | bne 5f | 34 | bne 5f |
36 | 35 | ||
37 | mov.l sp,@SYMBOL_NAME(sw_usp) /* user mode */ | 36 | mov.l sp,@SYMBOL_NAME(sw_usp) /* user mode */ |
38 | mov.l @sp,er0 | 37 | mov.l @sp,er0 |
38 | orc #0x10,ccr | ||
39 | mov.l @SYMBOL_NAME(sw_ksp),sp | 39 | mov.l @SYMBOL_NAME(sw_ksp),sp |
40 | sub.l #(LRET-LORIG),sp /* allocate LORIG - LRET */ | 40 | sub.l #(LRET-LORIG),sp /* allocate LORIG - LRET */ |
41 | mov.l er0,@-sp | 41 | mov.l er0,@-sp |
@@ -165,7 +165,7 @@ SYMBOL_NAME_LABEL(interrupt_entry) | |||
165 | dec.l #1,er0 | 165 | dec.l #1,er0 |
166 | mov.l sp,er1 | 166 | mov.l sp,er1 |
167 | subs #4,er1 /* adjust ret_pc */ | 167 | subs #4,er1 /* adjust ret_pc */ |
168 | jsr @SYMBOL_NAME(process_int) | 168 | jsr @SYMBOL_NAME(do_IRQ) |
169 | mov.l @SYMBOL_NAME(irq_stat)+CPUSTAT_SOFTIRQ_PENDING,er0 | 169 | mov.l @SYMBOL_NAME(irq_stat)+CPUSTAT_SOFTIRQ_PENDING,er0 |
170 | beq 1f | 170 | beq 1f |
171 | jsr @SYMBOL_NAME(do_softirq) | 171 | jsr @SYMBOL_NAME(do_softirq) |