aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/time
diff options
context:
space:
mode:
authorChuansheng Liu <chuansheng.liu@intel.com>2012-10-24 13:07:35 -0400
committerThomas Gleixner <tglx@linutronix.de>2012-11-01 07:13:59 -0400
commitb8f61116c1ce342804a0897b0a80eb4df5f19453 (patch)
tree9e0fb6cd0b5e039bbba4a54da17764c3da2552e3 /kernel/time
parent0acfd009be1f7eedb450dda1bec4c2a03d7c808b (diff)
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')
-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)
809#ifdef CONFIG_HIGH_RES_TIMERS 809#ifdef CONFIG_HIGH_RES_TIMERS
810/* 810/*
811 * We rearm the timer until we get disabled by the idle code. 811 * We rearm the timer until we get disabled by the idle code.
812 * Called with interrupts disabled and timer->base->cpu_base->lock held. 812 * Called with interrupts disabled.
813 */ 813 */
814static enum hrtimer_restart tick_sched_timer(struct hrtimer *timer) 814static enum hrtimer_restart tick_sched_timer(struct hrtimer *timer)
815{ 815{