aboutsummaryrefslogtreecommitdiff
path: root/kernel/timer.c
diff options
context:
space:
mode:
authorVikram Mulukutla <markivx@codeaurora.org>2014-10-13 21:29:33 -0700
committerMister Oyster <oysterized@gmail.com>2017-04-13 12:32:11 +0200
commit662287558f37ed46e0612a34d5e58b89f6af3a48 (patch)
treecaa1c648885d6e50b12eff95be9969664d51005f /kernel/timer.c
parent248d7100ffa9197cd7de996a31cb2edc637ca05f (diff)
idle: Implement a per-cpu idle-polling mode
cpu_idle_poll_ctrl provides a way of switching the idle thread to use cpu_idle_poll instead of the arch specific lower power mode callbacks (arch_cpu_idle). cpu_idle_poll spins on a flag in a tight loop with interrupts enabled. In some cases it may be useful to enter the tight loop polling mode only on a particular CPU. This allows other CPUs to continue using the arch specific low power mode callbacks. Provide an API that allows this. Change-Id: I7c47c3590eb63345996a1c780faa79dbd1d9fdb4 Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
Diffstat (limited to 'kernel/timer.c')
0 files changed, 0 insertions, 0 deletions