diff options
author | Oleg Nesterov <oleg@tv-sign.ru> | 2005-06-23 00:09:00 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-23 09:45:17 -0700 |
commit | f972be33ce6a08b5f096ba013c7459a3a82f5f39 (patch) | |
tree | 5d495cdfc82dce1b8017244563f2f5437c395433 /include/linux/un.h | |
parent | fd450b7318b75343fd76b3d95416853e34e72c95 (diff) | |
download | op-kernel-dev-f972be33ce6a08b5f096ba013c7459a3a82f5f39.zip op-kernel-dev-f972be33ce6a08b5f096ba013c7459a3a82f5f39.tar.gz |
[PATCH] posix-timers: use try_to_del_timer_sync()
sys_timer_settime/sys_timer_delete needs to delete k_itimer->real.timer
synchronously while holding ->it_lock, which is also locked in
posix_timer_fn.
This patch removes timer_active/set_timer_inactive which plays with
timer_list's internals in favour of using try_to_del_timer_sync(), which
was introduced in the previous patch.
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/un.h')
0 files changed, 0 insertions, 0 deletions