Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31850
b: refs/heads/master
c: 829035f
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mackerras authored and Linus Torvalds committed Jul 3, 2006
1 parent 4f3b283 commit dab564e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 15 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8688cfcebf09b84385b5e2c461ae08fcde8a5d18
refs/heads/master: 829035fd709119d9def124a6d40b94d317573e6f
7 changes: 1 addition & 6 deletions trunk/arch/powerpc/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -424,13 +424,8 @@ void do_softirq(void)

local_irq_save(flags);

if (local_softirq_pending()) {
account_system_vtime(current);
local_bh_disable();
if (local_softirq_pending())
do_softirq_onstack();
account_system_vtime(current);
_local_bh_enable();
}

local_irq_restore(flags);
}
Expand Down
8 changes: 0 additions & 8 deletions trunk/arch/s390/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,6 @@ asmlinkage void do_softirq(void)

local_irq_save(flags);

account_system_vtime(current);

local_bh_disable();

if (local_softirq_pending()) {
/* Get current stack pointer. */
asm volatile("la %0,0(15)" : "=a" (old));
Expand All @@ -95,10 +91,6 @@ asmlinkage void do_softirq(void)
__do_softirq();
}

account_system_vtime(current);

_local_bh_enable();

local_irq_restore(flags);
}

Expand Down
4 changes: 4 additions & 0 deletions trunk/kernel/softirq.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,8 @@ asmlinkage void __do_softirq(void)
int cpu;

pending = local_softirq_pending();
account_system_vtime(current);

__local_bh_disable((unsigned long)__builtin_return_address(0));
trace_softirq_enter();

Expand Down Expand Up @@ -224,6 +226,8 @@ asmlinkage void __do_softirq(void)
wakeup_softirqd();

trace_softirq_exit();

account_system_vtime(current);
_local_bh_enable();
}

Expand Down

0 comments on commit dab564e

Please sign in to comment.