Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 145581
b: refs/heads/master
c: 56b581e
h: refs/heads/master
i:
  145579: 6b73ef8
v: v3
  • Loading branch information
Yinghai Lu authored and Ingo Molnar committed Apr 28, 2009
1 parent c1e6e2d commit cdb8fc0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: d047f53a2ecce37e3bdf79eac5a326fbaadb3628
refs/heads/master: 56b581ea9591b5767b1e0204c6a06c7d0c49396e
4 changes: 3 additions & 1 deletion trunk/drivers/pci/htirq.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ int __ht_create_irq(struct pci_dev *dev, int idx, ht_irq_update_t *update)
int max_irq;
int pos;
int irq;
int node;

pos = pci_find_ht_capability(dev, HT_CAPTYPE_IRQ);
if (!pos)
Expand Down Expand Up @@ -125,7 +126,8 @@ int __ht_create_irq(struct pci_dev *dev, int idx, ht_irq_update_t *update)
cfg->msg.address_lo = 0xffffffff;
cfg->msg.address_hi = 0xffffffff;

irq = create_irq();
node = dev_to_node(&dev->dev);
irq = create_irq_nr(0, node);

if (irq <= 0) {
kfree(cfg);
Expand Down

0 comments on commit cdb8fc0

Please sign in to comment.