Commit 4a2bc0d0 authored by Michael Shields's avatar Michael Shields Committed by David S. Miller

[SPARC64]: Fix watchdog on CP1500/Netra-t1.

parent 628cb02b
...@@ -539,7 +539,7 @@ static void wd_toggleintr(struct wd_timer* pTimer, int enable) ...@@ -539,7 +539,7 @@ static void wd_toggleintr(struct wd_timer* pTimer, int enable)
static void wd_pingtimer(struct wd_timer* pTimer) static void wd_pingtimer(struct wd_timer* pTimer)
{ {
if(wd_readb(&pTimer->regs->status) & WD_S_RUNNING) { if(wd_readb(&pTimer->regs->status) & WD_S_RUNNING) {
wd_readb(&pTimer->regs->dcntr); wd_readw(&pTimer->regs->dcntr);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment