diff options
author | Johannes Berg <[email protected]> | 2008-06-18 09:29:37 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2008-06-20 15:45:29 +0200 |
commit | 0f476b6d91a1395bda6464e653ce66ea9bea7167 (patch) | |
tree | 28a7f73ebc553dec0ee136395c99f641b0cbf6cc /net/unix/sysctl_net_unix.c | |
parent | 4620b49f76096fa5183eecad7d689faa898a4c82 (diff) |
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 <[email protected]>
Cc: Michael Buesch <[email protected]>
Cc: David Ellingsworth <[email protected]>
Cc: Linus Torvalds <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions