summaryrefslogtreecommitdiffstats
path: root/libgloss/or1k/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/or1k/timer.c')
-rw-r--r--libgloss/or1k/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgloss/or1k/timer.c b/libgloss/or1k/timer.c
index 27a24a1c1..08afa6034 100644
--- a/libgloss/or1k/timer.c
+++ b/libgloss/or1k/timer.c
@@ -35,7 +35,7 @@ _or1k_timer_interrupt_handler(void)
uint32_t ttmr = or1k_mfspr(OR1K_SPR_TICK_TTMR_ADDR);
ttmr = OR1K_SPR_TICK_TTMR_IE_SET(ttmr, 1);
ttmr = OR1K_SPR_TICK_TTMR_MODE_SET(ttmr, OR1K_SPR_TICK_TTMR_MODE_RESTART);
- ttmr = OR1K_SPR_TICK_TTMR_IE_SET(ttmr, 1);
+ ttmr = OR1K_SPR_TICK_TTMR_IP_SET(ttmr, 0);
or1k_mtspr(OR1K_SPR_TICK_TTMR_ADDR, ttmr);
}