Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 227701
b: refs/heads/master
c: 110e7c7
h: refs/heads/master
i:
  227699: 4656abd
v: v3
  • Loading branch information
Joe Jin authored and Konrad Rzeszutek Wilk committed Jan 10, 2011
1 parent 0838ee6 commit fca6194
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fc550e95921e109f3778a6b2dc560d63388810ab
refs/heads/master: 110e7c7e4f8a61a34e0ab88fc9bdf4d5c6d220b2
3 changes: 3 additions & 0 deletions trunk/drivers/xen/events.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,9 @@ static struct irq_info *info_for_irq(unsigned irq)

static unsigned int evtchn_from_irq(unsigned irq)
{
if (unlikely(WARN(irq < 0 || irq >= nr_irqs, "Invalid irq %d!\n", irq)))
return 0;

return info_for_irq(irq)->evtchn;
}

Expand Down

0 comments on commit fca6194

Please sign in to comment.