From: Johannes Berg Date: Wed, 18 Jun 2008 07:29:37 +0000 (+0200) Subject: softirq: remove irqs_disabled warning from local_bh_enable X-Git-Tag: v2.6.27-rc1~1096^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f476b6d91a1395bda6464e653ce66ea9bea7167;p=pandora-kernel.git softirq: remove irqs_disabled warning from local_bh_enable There's no need to use local_irq_save() over local_irq_disable() in the local_bh_enable code since it is a bug to call it with irqs disabled and do_softirq will enable irqs if there is any pending work. Consolidate the code from local_bh_enable and ..._ip to avoid having a disconnect between them in the warnings they trigger that is currently there. Also always trigger the warning on in_irq(), not just in the trace-irqflags case. Signed-off-by: Johannes Berg Cc: Michael Buesch Cc: David Ellingsworth Cc: Linus Torvalds Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed