Changeset 12245


Ignore:
Timestamp:
2008-08-08T16:12:04+02:00 (9 years ago)
Author:
blogic
Message:

fixes kernel oops when reset button was pressed too often on atheros

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/atheros/files/arch/mips/atheros/reset.c

    r12179 r12245  
    130130        seen = jiffies; 
    131131        if(event->set && no_release_workaround) 
    132         { 
    133                 rst_button_timer.expires = jiffies + (HZ / 4); 
    134                 add_timer(&rst_button_timer); 
    135         } 
     132                mod_timer(&rst_button_timer, jiffies + (HZ / 4)); 
     133 
    136134        return IRQ_HANDLED; 
    137135} 
Note: See TracChangeset for help on using the changeset viewer.