From: Ingo Molnar Date: Wed, 28 Mar 2007 11:17:18 +0000 (+0200) Subject: [PATCH] hrtimers: fix reprogramming SMP race X-Git-Tag: v2.6.21-rc6~81 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=935c631db827cc3a96df4dcc6fec374b994fdbd1;p=pandora-kernel.git [PATCH] hrtimers: fix reprogramming SMP race hrtimer_start() incorrectly set the 'reprogram' flag to enqueue_hrtimer(), which should only be 1 if the hrtimer is queued to the current CPU. Doing otherwise could result in a reprogramming of the current CPU's clockevents device, with a timer that is not queued to it - resulting in a bogus next expiry value. Signed-off-by: Ingo Molnar Cc: Michal Piotrowski Acked-by: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed