summaryrefslogtreecommitdiffstats
path: root/kernel/time/tick-sched.c
diff options
context:
space:
mode:
authorChuansheng Liu <chuansheng.liu@intel.com>2012-10-25 01:07:35 +0800
committerThomas Gleixner <tglx@linutronix.de>2012-11-01 12:13:59 +0100
commitb8f61116c1ce342804a0897b0a80eb4df5f19453 (patch)
tree9e0fb6cd0b5e039bbba4a54da17764c3da2552e3 /kernel/time/tick-sched.c
parent0acfd009be1f7eedb450dda1bec4c2a03d7c808b (diff)
downloadlinux-b8f61116c1ce342804a0897b0a80eb4df5f19453.tar.gz
linux-b8f61116c1ce342804a0897b0a80eb4df5f19453.tar.bz2
linux-b8f61116c1ce342804a0897b0a80eb4df5f19453.zip
tick: Correct the comments for tick_sched_timer()
In the comments of function tick_sched_timer(), the sentence "timer->base->cpu_base->lock held" is not right. In function __run_hrtimer(), before call timer->function(), the cpu_base->lock has been unlocked. Signed-off-by: liu chuansheng <chuansheng.liu@intel.com> Cc: fei.li@intel.com Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/1351098455.15558.1421.camel@cliu38-desktop-build Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/time/tick-sched.c')
-rw-r--r--kernel/time/tick-sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c
index 766d4c47a4a4..77729cc3750b 100644
--- a/kernel/time/tick-sched.c
+++ b/kernel/time/tick-sched.c
@@ -809,7 +809,7 @@ void tick_check_idle(int cpu)
#ifdef CONFIG_HIGH_RES_TIMERS
/*
* We rearm the timer until we get disabled by the idle code.
- * Called with interrupts disabled and timer->base->cpu_base->lock held.
+ * Called with interrupts disabled.
*/
static enum hrtimer_restart tick_sched_timer(struct hrtimer *timer)
{