Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 149633
b: refs/heads/master
c: 835363e
h: refs/heads/master
i:
  149631: 4ba4dac
v: v3
  • Loading branch information
Michael Ellerman authored and Benjamin Herrenschmidt committed May 21, 2009
1 parent 7d7305d commit f8975e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 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: 9b647a30cbc228259555d6b0b6bc7d9ec798f907
refs/heads/master: 835363e67dc27ad0809de05b2b5a8b725c95d77f
7 changes: 1 addition & 6 deletions trunk/arch/powerpc/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,6 @@ static inline void handle_one_irq(unsigned int irq)
struct thread_info *curtp, *irqtp;
unsigned long saved_sp_limit;
struct irq_desc *desc;
void *handler;

/* Switch to the irq stack to handle this */
curtp = current_thread_info();
Expand All @@ -269,10 +268,6 @@ static inline void handle_one_irq(unsigned int irq)
desc = irq_desc + irq;
saved_sp_limit = current->thread.ksp_limit;

handler = desc->handle_irq;
if (handler == NULL)
handler = &__do_IRQ;

irqtp->task = curtp->task;
irqtp->flags = 0;

Expand All @@ -284,7 +279,7 @@ static inline void handle_one_irq(unsigned int irq)
current->thread.ksp_limit = (unsigned long)irqtp +
_ALIGN_UP(sizeof(struct thread_info), 16);

call_handle_irq(irq, desc, irqtp, handler);
call_handle_irq(irq, desc, irqtp, desc->handle_irq);
current->thread.ksp_limit = saved_sp_limit;
irqtp->task = NULL;

Expand Down

0 comments on commit f8975e5

Please sign in to comment.