diff options
Diffstat (limited to 'arch/mips/sgi/kernel/reset.c')
-rw-r--r-- | arch/mips/sgi/kernel/reset.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/mips/sgi/kernel/reset.c b/arch/mips/sgi/kernel/reset.c index 8efde598c..53cd9b1e4 100644 --- a/arch/mips/sgi/kernel/reset.c +++ b/arch/mips/sgi/kernel/reset.c @@ -88,9 +88,7 @@ static void blink_timeout(unsigned long data) sgi_hpc_write1 ^= (HPC3_WRITE1_LC0OFF|HPC3_WRITE1_LC1OFF); hpc3mregs->write1 = sgi_hpc_write1; - del_timer(&blink_timer); - blink_timer.expires = jiffies + data; - add_timer(&blink_timer); + mod_timer(&blink_timer, jiffies+data); } static void debounce(unsigned long data) |