diff options
-rw-r--r-- | arch/m32r/kernel/entry.S | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/m32r/kernel/entry.S b/arch/m32r/kernel/entry.S index 0c01543f10cd..7c3db9940ce1 100644 --- a/arch/m32r/kernel/entry.S +++ b/arch/m32r/kernel/entry.S | |||
@@ -182,13 +182,7 @@ need_resched: | |||
182 | ld r4, PSW(sp) ; interrupts off (exception path) ? | 182 | ld r4, PSW(sp) ; interrupts off (exception path) ? |
183 | and3 r4, r4, #0x4000 | 183 | and3 r4, r4, #0x4000 |
184 | beqz r4, restore_all | 184 | beqz r4, restore_all |
185 | LDIMM (r4, PREEMPT_ACTIVE) | 185 | bl preempt_schedule_irq |
186 | st r4, @(TI_PRE_COUNT, r8) | ||
187 | ENABLE_INTERRUPTS(r4) | ||
188 | bl schedule | ||
189 | ldi r4, #0 | ||
190 | st r4, @(TI_PRE_COUNT, r8) | ||
191 | DISABLE_INTERRUPTS(r4) | ||
192 | bra need_resched | 186 | bra need_resched |
193 | #endif | 187 | #endif |
194 | 188 | ||