diff options
author | Yong Zhang <[email protected]> | 2010-10-20 15:57:31 -0700 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2010-10-22 14:46:25 +0200 |
commit | 6f1bc451e6a79470b122a37ee1fc6bbca450f444 (patch) | |
tree | b4393f6130ae3a9075de509a0e0e9328f3bd3430 /tools/perf/util/trace-event-scripting.c | |
parent | 20f33a03f0cf87e51165f7084f697acfb68e865b (diff) |
timer: Make try_to_del_timer_sync() the same on SMP and UP
On UP try_to_del_timer_sync() is mapped to del_timer() which does not
take the running timer callback into account, so it has different
semantics.
Remove the SMP dependency of try_to_del_timer_sync() by using
base->running_timer in the UP case as well.
[ tglx: Removed set_running_timer() inline and tweaked the changelog ]
Signed-off-by: Yong Zhang <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Acked-by: Oleg Nesterov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions