aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorJacob Pan <jacob.jun.pan@linux.intel.com>2013-01-04 06:12:43 -0500
committerZhang Rui <rui.zhang@intel.com>2013-01-17 09:25:38 -0500
commit4dbd27711cd92bcc364426937a0d5e80f10b1cfb (patch)
tree5b16edd118bb8e799498c37cf7f279f186036fb2 /kernel
parent6b2aa51d698492e8dc0a0ce6ce5b3193ccaec269 (diff)
tick: export nohz tick idle symbols for module use
Allow drivers such as intel_powerclamp to use these apis for turning on/off ticks during idle. Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/time/tick-sched.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c
index d58e552d9fd1..a7677579bcc3 100644
--- a/kernel/time/tick-sched.c
+++ b/kernel/time/tick-sched.c
@@ -553,6 +553,7 @@ void tick_nohz_idle_enter(void)
553 553
554 local_irq_enable(); 554 local_irq_enable();
555} 555}
556EXPORT_SYMBOL_GPL(tick_nohz_idle_enter);
556 557
557/** 558/**
558 * tick_nohz_irq_exit - update next tick event from interrupt exit 559 * tick_nohz_irq_exit - update next tick event from interrupt exit
@@ -681,6 +682,7 @@ void tick_nohz_idle_exit(void)
681 682
682 local_irq_enable(); 683 local_irq_enable();
683} 684}
685EXPORT_SYMBOL_GPL(tick_nohz_idle_exit);
684 686
685static int tick_nohz_reprogram(struct tick_sched *ts, ktime_t now) 687static int tick_nohz_reprogram(struct tick_sched *ts, ktime_t now)
686{ 688{