diff options
author | Richard Larocque <rlarocque@google.com> | 2014-09-10 05:31:05 +0400 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-10-13 17:41:34 +0400 |
commit | 6b492bab9c4edd84769ff057200b95c709e4b891 (patch) | |
tree | 9bbf9f73554abe78d463dcc6041ff0bfe084e1b1 /include/memory | |
parent | e1f7a680a82fdc7a43fcc6fc5433b1aa13a0f427 (diff) | |
download | linux-6b492bab9c4edd84769ff057200b95c709e4b891.tar.xz |
alarmtimer: Lock k_itimer during timer callback
commit 474e941bed9262f5fa2394f9a4a67e24499e5926 upstream.
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: 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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'include/memory')
0 files changed, 0 insertions, 0 deletions