Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 330318
b: refs/heads/master
c: e72bbba
h: refs/heads/master
v: v3
  • Loading branch information
Li Zhong authored and Benjamin Herrenschmidt committed Sep 17, 2012
1 parent d81c354 commit 75aec00
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 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: 78f1dbde9fd020419313c2a0c3b602ea2427118f
refs/heads/master: e72bbbab278a2e6d506bd2cf380ba9bef68e8ec1
8 changes: 4 additions & 4 deletions trunk/arch/powerpc/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -489,10 +489,10 @@ void do_IRQ(struct pt_regs *regs)
struct pt_regs *old_regs = set_irq_regs(regs);
unsigned int irq;

trace_irq_entry(regs);

irq_enter();

trace_irq_entry(regs);

check_stack_overflow();

/*
Expand All @@ -511,10 +511,10 @@ void do_IRQ(struct pt_regs *regs)
else
__get_cpu_var(irq_stat).spurious_irqs++;

trace_irq_exit(regs);

irq_exit();
set_irq_regs(old_regs);

trace_irq_exit(regs);
}

void __init init_IRQ(void)
Expand Down
8 changes: 4 additions & 4 deletions trunk/arch/powerpc/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -493,8 +493,6 @@ void timer_interrupt(struct pt_regs * regs)
*/
may_hard_irq_enable();

trace_timer_interrupt_entry(regs);

__get_cpu_var(irq_stat).timer_irqs++;

#if defined(CONFIG_PPC32) && defined(CONFIG_PMAC)
Expand All @@ -505,6 +503,8 @@ void timer_interrupt(struct pt_regs * regs)
old_regs = set_irq_regs(regs);
irq_enter();

trace_timer_interrupt_entry(regs);

if (test_irq_work_pending()) {
clear_irq_work_pending();
irq_work_run();
Expand All @@ -529,10 +529,10 @@ void timer_interrupt(struct pt_regs * regs)
}
#endif

trace_timer_interrupt_exit(regs);

irq_exit();
set_irq_regs(old_regs);

trace_timer_interrupt_exit(regs);
}

/*
Expand Down

0 comments on commit 75aec00

Please sign in to comment.