Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 39082
b: refs/heads/master
c: ada26d4
h: refs/heads/master
v: v3
  • Loading branch information
Linus Torvalds committed Oct 7, 2006
1 parent 2dd4071 commit 78bf0ec
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 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: be577a5220b25e0a6e3fbf96bbfc8b31d63e9ea9
refs/heads/master: ada26d41e9ee1da31d11957b4452f4227a292e10
3 changes: 2 additions & 1 deletion trunk/arch/arm/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ static struct irq_desc bad_irq_desc = {
*/
asmlinkage void asm_do_IRQ(unsigned int irq, struct pt_regs *regs)
{
struct pt_regs *old_regs = set_irq_regs(regs);
struct irqdesc *desc = irq_desc + irq;

/*
Expand All @@ -122,13 +123,13 @@ asmlinkage void asm_do_IRQ(unsigned int irq, struct pt_regs *regs)

irq_enter();

set_irq_regs(regs);
desc_handle_irq(irq, desc);

/* AT91 specific workaround */
irq_finish(irq);

irq_exit();
set_irq_regs(old_regs);
}

void set_irq_flags(unsigned int irq, unsigned int iflags)
Expand Down
5 changes: 4 additions & 1 deletion trunk/arch/x86_64/kernel/apic.c
Original file line number Diff line number Diff line change
Expand Up @@ -913,8 +913,10 @@ void smp_local_timer_interrupt(void)
* [ if a single-CPU system runs an SMP kernel then we call the local
* interrupt as well. Thus we cannot inline the local irq ... ]
*/
void smp_apic_timer_interrupt(void)
void smp_apic_timer_interrupt(struct pt_regs *regs)
{
struct pt_regs *old_regs = set_irq_regs(regs);

/*
* the NMI deadlock-detector uses this.
*/
Expand All @@ -934,6 +936,7 @@ void smp_apic_timer_interrupt(void)
irq_enter();
smp_local_timer_interrupt();
irq_exit();
set_irq_regs(old_regs);
}

/*
Expand Down

0 comments on commit 78bf0ec

Please sign in to comment.