Messages in this thread Patch in this message | | | From | Yong Zhang <> | Subject | [RFC PATCH 1/3] timer: fix comments of try_to_del_timer_sync() | Date | Tue, 24 Aug 2010 14:58:47 +0800 |
| |
From: Yong Zhang <yong.zhang@windriver.com>
In commit fd450b7318b75343fd76b3d95416853e34e72c95, it was saying try_to_del_timer_sync() can be used in interrupt context. So make the comments consistent to what it should be.
Signed-off-by: Yong Zhang <yong.zhang0@gmail.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Ingo Molnar <mingo@elte.hu> Cc: Oleg Nesterov <oleg@redhat.com> --- kernel/timer.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/kernel/timer.c b/kernel/timer.c index 97bf05b..55b6a2d 100644 --- a/kernel/timer.c +++ b/kernel/timer.c @@ -943,8 +943,6 @@ EXPORT_SYMBOL(del_timer); * * This function tries to deactivate a timer. Upon successful (ret >= 0) * exit the timer is not queued and the handler is not running on any CPU. - * - * It must not be called from interrupt contexts. */ int try_to_del_timer_sync(struct timer_list *timer) { -- 1.7.0.4
| |