From: Yong Zhang Date: Wed, 20 Oct 2010 22:57:31 +0000 (-0700) Subject: timer: Make try_to_del_timer_sync() the same on SMP and UP X-Git-Tag: v2.6.38-rc1~416^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f1bc451e6a79470b122a37ee1fc6bbca450f444;p=pandora-kernel.git timer: Make try_to_del_timer_sync() the same on SMP and UP On UP try_to_del_timer_sync() is mapped to del_timer() which does not take the running timer callback into account, so it has different semantics. Remove the SMP dependency of try_to_del_timer_sync() by using base->running_timer in the UP case as well. [ tglx: Removed set_running_timer() inline and tweaked the changelog ] Signed-off-by: Yong Zhang Cc: Ingo Molnar Cc: Peter Zijlstra Acked-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed