summaryrefslogtreecommitdiffstats
path: root/kernel/sched_cpupri.c
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2011-04-28 13:29:18 -0700
committerJohn Stultz <john.stultz@linaro.org>2011-04-28 13:39:18 -0700
commit7068b7a16270f1e85a8893d74b0f3c58d7826883 (patch)
tree114143f4724543c89d93e95bbb7d3f03f1abb5d6 /kernel/sched_cpupri.c
parent180bf812ceaf01eb8ac69b86f3be0bd57f697668 (diff)
downloadop-kernel-dev-7068b7a16270f1e85a8893d74b0f3c58d7826883.zip
op-kernel-dev-7068b7a16270f1e85a8893d74b0f3c58d7826883.tar.gz
timers: Remove delayed irqwork from alarmtimers implementation
Thomas asked about the delayed irq work in the alarmtimers code, and I realized that it was a legacy from when the alarmtimer base lock was a mutex (due to concerns that we'd be interacting with the RTC device, which is protected by mutexes). Since the alarmtimer base is now protected by a spinlock, we can simply execute alarmtimer functions directly from the hrtimer callback. Should any future alarmtimer functions sleep, they can simply manage scheduling any delayed work themselves. CC: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'kernel/sched_cpupri.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud