diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2008-10-13 10:35:05 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-13 09:51:39 -0700 |
commit | 9d020a2e5fd2c79f5b08a6cab2b02e7231d7cb84 (patch) | |
tree | 2c3d42f2a0fd4617d2e708e91dae6bbc4b4a5c15 /firmware/sun/cassini.bin.ihex | |
parent | f1ddfd950221cca4d7ba753a71bc4b8930a42a43 (diff) |
ip2: avoid add_timer with pending timer
add_timer() is not supposed to be called when the timer is pending.
ip2 driver attempts to avoid that condition by setting and resetting
a flag (TimerOn) in timer function. But there is some gap between
add_timer() and setting TimerOn.
This patch fix this problem by using mod_timer() and remove TimerOn
which has been unnecessary by this change.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'firmware/sun/cassini.bin.ihex')
0 files changed, 0 insertions, 0 deletions