Skip to content

Commit

Permalink
tick: export nohz tick idle symbols for module use
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jacob Pan authored and Zhang Rui committed Jan 17, 2013
1 parent 6b2aa51 commit 4dbd277
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kernel/time/tick-sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
{
Expand Down

0 comments on commit 4dbd277

Please sign in to comment.