diff options
author | Richard Larocque <rlarocque@google.com> | 2014-09-09 18:31:05 -0700 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2014-09-12 13:59:12 -0700 |
commit | 474e941bed9262f5fa2394f9a4a67e24499e5926 (patch) | |
tree | 1295960e17591bead96c9ae706d15c51bd68e468 /include/linux | |
parent | 265b81d23a46c39df0a735a3af4238954b41a4c2 (diff) |
alarmtimer: Lock k_itimer during timer callback
Locks the k_itimer's it_lock member when handling the alarm timer's
expiry callback.
The regular posix timers defined in posix-timers.c have this lock held
during timout processing because their callbacks are routed through
posix_timer_fn(). The alarm timers follow a different path, so they
ought to grab the lock somewhere else.
Cc: stable@vger.kernel.org
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Sharvil Nanavati <sharvil@google.com>
Signed-off-by: Richard Larocque <rlarocque@google.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions