提交 4dbd2771 编写于 作者: J Jacob Pan 提交者: Zhang Rui

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: NJacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: NZhang Rui <rui.zhang@intel.com>
上级 6b2aa51d
...@@ -553,6 +553,7 @@ void tick_nohz_idle_enter(void) ...@@ -553,6 +553,7 @@ void tick_nohz_idle_enter(void)
local_irq_enable(); local_irq_enable();
} }
EXPORT_SYMBOL_GPL(tick_nohz_idle_enter);
/** /**
* tick_nohz_irq_exit - update next tick event from interrupt exit * tick_nohz_irq_exit - update next tick event from interrupt exit
...@@ -681,6 +682,7 @@ void tick_nohz_idle_exit(void) ...@@ -681,6 +682,7 @@ void tick_nohz_idle_exit(void)
local_irq_enable(); local_irq_enable();
} }
EXPORT_SYMBOL_GPL(tick_nohz_idle_exit);
static int tick_nohz_reprogram(struct tick_sched *ts, ktime_t now) static int tick_nohz_reprogram(struct tick_sched *ts, ktime_t now)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册