From: Richard Larocque Date: Wed, 10 Sep 2014 01:31:05 +0000 (-0700) Subject: alarmtimer: Lock k_itimer during timer callback X-Git-Tag: fixes-for-v3.18-merge-window~127^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=474e941bed9262f5fa2394f9a4a67e24499e5926;p=pandora-kernel.git 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 Cc: Ingo Molnar Cc: Richard Cochran Cc: Prarit Bhargava Cc: Sharvil Nanavati Signed-off-by: Richard Larocque Signed-off-by: John Stultz --- Reading git-diff-tree failed