Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 185164
b: refs/heads/master
c: ca4dbc6
h: refs/heads/master
v: v3
  • Loading branch information
Eric W. Biederman authored and H. Peter Anvin committed Feb 19, 2010
1 parent e0c4486 commit 4c0c4e8
Show file tree
Hide file tree
Showing 3 changed files with 7 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: 2b633e3fac5efada088b57d31e65401f22bcc18f
refs/heads/master: ca4dbc668412d5fe039be3e26e8e717a616d1ca5
4 changes: 0 additions & 4 deletions trunk/arch/ia64/include/asm/xen/events.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ static inline int xen_irqs_disabled(struct pt_regs *regs)
return !(ia64_psr(regs)->i);
}

static inline void handle_irq(int irq, struct pt_regs *regs)
{
__do_IRQ(irq);
}
#define irq_ctx_init(cpu) do { } while (0)

#endif /* _ASM_IA64_XEN_EVENTS_H */
8 changes: 6 additions & 2 deletions trunk/drivers/xen/events.c
Original file line number Diff line number Diff line change
Expand Up @@ -649,9 +649,13 @@ void xen_evtchn_do_upcall(struct pt_regs *regs)
int bit_idx = __ffs(pending_bits);
int port = (word_idx * BITS_PER_LONG) + bit_idx;
int irq = evtchn_to_irq[port];
struct irq_desc *desc;

if (irq != -1)
handle_irq(irq, regs);
if (irq != -1) {
desc = irq_to_desc(irq);
if (desc)
generic_handle_irq_desc(irq, desc);
}
}
}

Expand Down

0 comments on commit 4c0c4e8

Please sign in to comment.