aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAkinobu Mita <[email protected]>2008-10-13 10:35:05 +0100
committerLinus Torvalds <[email protected]>2008-10-13 09:51:39 -0700
commit9d020a2e5fd2c79f5b08a6cab2b02e7231d7cb84 (patch)
tree2c3d42f2a0fd4617d2e708e91dae6bbc4b4a5c15 /tools/perf/scripts/python
parentf1ddfd950221cca4d7ba753a71bc4b8930a42a43 (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 <[email protected]> Signed-off-by: Jiri Slaby <[email protected]> Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions