tick: export nohz tick idle symbols for module use
authorJacob Pan <jacob.jun.pan@linux.intel.com>
Fri, 4 Jan 2013 11:12:43 +0000 (11:12 +0000)
committerZhang Rui <rui.zhang@intel.com>
Thu, 17 Jan 2013 14:25:38 +0000 (22:25 +0800)
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>
kernel/time/tick-sched.c

index d58e552d9fd154b39fffaa012a6028838b9955fd..a7677579bcc30bb20298129dc29e9382d410126e 100644 (file)
@@ -553,6 +553,7 @@ void tick_nohz_idle_enter(void)
 
        local_irq_enable();
 }
+EXPORT_SYMBOL_GPL(tick_nohz_idle_enter);
 
 /**
  * tick_nohz_irq_exit - update next tick event from interrupt exit
@@ -681,6 +682,7 @@ void tick_nohz_idle_exit(void)
 
        local_irq_enable();
 }
+EXPORT_SYMBOL_GPL(tick_nohz_idle_exit);
 
 static int tick_nohz_reprogram(struct tick_sched *ts, ktime_t now)
 {