From: Peter Zijlstra Date: Thu, 3 Feb 2011 14:09:41 +0000 (+0100) Subject: lockdep, timer: Fix del_timer_sync() annotation X-Git-Tag: v2.6.38-rc4~10^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f266a5110d453b7987194460ac7edd31f1a5426c;p=pandora-kernel.git lockdep, timer: Fix del_timer_sync() annotation Calling local_bh_enable() will want to actually start processing softirqs, which isn't a good idea since this can get called with IRQs disabled. Cure this by using _local_bh_enable() which doesn't start processing softirqs, and use raw_local_irq_save() to avoid any softirqs from happening without letting lockdep think IRQs are in fact disabled. Reported-by: Nick Bowler Signed-off-by: Peter Zijlstra Reviewed-by: Yong Zhang LKML-Reference: <20110203141548.039540914@chello.nl> Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed