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