From cdd6743e88e9da97006d86e65cf05bc242d8f133 Mon Sep 17 00:00:00 2001 From: Tomas Hruby Date: Tue, 6 Apr 2010 11:16:14 +0000 Subject: [PATCH] do_vtimer() - removed comment which is not true anymore as we don't have any tasks. No need to take any special measures. --- kernel/system/do_vtimer.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/kernel/system/do_vtimer.c b/kernel/system/do_vtimer.c index d7cacf6e3..a3fb88377 100644 --- a/kernel/system/do_vtimer.c +++ b/kernel/system/do_vtimer.c @@ -59,13 +59,6 @@ PUBLIC int do_vtimer(struct proc * caller, message * m_ptr) old_value = 0; } - /* Set the new value, if requested. This is called from the system task, so - * we can be interrupted by the clock interrupt, but not by the clock task. - * Therefore we only have to protect against interference from clock.c's - * clock_handler(). We can do this without disabling interrupts, by removing - * the timer's flag before changing the ticks-left field; in that case the - * clock interrupt will not touch the latter anymore. - */ if (m_ptr->VT_SET) { rp->p_misc_flags &= ~pt_flag; /* disable virtual timer */ -- 2.44.0