summaryrefslogtreecommitdiff
path: root/chip/stm32/hwtimer32.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/stm32/hwtimer32.c')
-rw-r--r--chip/stm32/hwtimer32.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/chip/stm32/hwtimer32.c b/chip/stm32/hwtimer32.c
index 691e2f90f7..e04f540d04 100644
--- a/chip/stm32/hwtimer32.c
+++ b/chip/stm32/hwtimer32.c
@@ -204,12 +204,10 @@ void IRQ_HANDLER(IRQ_WD)(void)
asm volatile("mov r0, lr\n"
"mov r1, sp\n"
/* Must push registers in pairs to keep 64-bit aligned
- * stack for ARM EABI. This also conveninently saves
- * R0=LR so we can pass it to task_resched_if_needed. */
+ * stack for ARM EABI. */
"push {r0, lr}\n"
"bl watchdog_check\n"
- "pop {r0, lr}\n"
- "b task_resched_if_needed\n");
+ "pop {r0,pc}\n");
}
const struct irq_priority IRQ_PRIORITY(IRQ_WD)
__attribute__((section(".rodata.irqprio")))