summaryrefslogtreecommitdiff
path: root/Documentation/RCU/UP.txt
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2008-10-13 09:35:05 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-13 16:51:39 (GMT)
commit9d020a2e5fd2c79f5b08a6cab2b02e7231d7cb84 (patch)
tree2c3d42f2a0fd4617d2e708e91dae6bbc4b4a5c15 /Documentation/RCU/UP.txt
parentf1ddfd950221cca4d7ba753a71bc4b8930a42a43 (diff)
downloadlinux-fsl-qoriq-9d020a2e5fd2c79f5b08a6cab2b02e7231d7cb84.tar.xz
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 'Documentation/RCU/UP.txt')
0 files changed, 0 insertions, 0 deletions