Skip to content

Commit

Permalink
[PATCH] revert bogus softirq changes
Browse files Browse the repository at this point in the history
This snuck in with an x86_64 change.  Thanks to Richard Purdie
<rpurdie@rpsys.net> for spotting it.

Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Jul 30, 2005
1 parent 6d1d07e commit c70f5d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/softirq.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ asmlinkage void __do_softirq(void)
/* Reset the pending bitmask before enabling irqs */
local_softirq_pending() = 0;

//local_irq_enable();
local_irq_enable();

h = softirq_vec;

Expand All @@ -99,7 +99,7 @@ asmlinkage void __do_softirq(void)
pending >>= 1;
} while (pending);

//local_irq_disable();
local_irq_disable();

pending = local_softirq_pending();
if (pending && --max_restart)
Expand Down

0 comments on commit c70f5d6

Please sign in to comment.