diff options
author | John Stultz <john.stultz@linaro.org> | 2011-04-28 16:29:18 -0400 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2011-04-28 16:39:18 -0400 |
commit | 7068b7a16270f1e85a8893d74b0f3c58d7826883 (patch) | |
tree | 114143f4724543c89d93e95bbb7d3f03f1abb5d6 /lib/reciprocal_div.c | |
parent | 180bf812ceaf01eb8ac69b86f3be0bd57f697668 (diff) |
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 'lib/reciprocal_div.c')
0 files changed, 0 insertions, 0 deletions