search for: irqh_dev_writ

Displaying 4 results from an estimated 4 matches for "irqh_dev_writ".

Did you mean: irqh_dev_write
2008 Apr 08
1
[PATCH] use NR_IRQS for irq count
...t, which) #define irqh_set(which, bit) set_bit(bit, which) #define irqh_clear(which, bit) clear_bit(bit, which) -#define irqh_ffs(which) find_first_bit(which, NINTR) +#define irqh_ffs(which) find_first_bit(which, NR_IRQS) static irqreturn_t irqh_interrupt(int irq, void *p) @@ -92,7 +90,7 @@ irqh_dev_write(struct file *fp, const ch if (pdp) { if (pci_enable_device(pdp)) ERROR("device not enabled\n"); - if ((unsigned)(n = pdp->irq) >= NINTR) { + if ((unsigned)(n = pdp->irq) >= NR_IRQS) { ERROR("device has invalid IRQ set\n"); return -EINVAL;...
2008 Apr 08
1
[PATCH] use NR_IRQS for irq count
...t, which) #define irqh_set(which, bit) set_bit(bit, which) #define irqh_clear(which, bit) clear_bit(bit, which) -#define irqh_ffs(which) find_first_bit(which, NINTR) +#define irqh_ffs(which) find_first_bit(which, NR_IRQS) static irqreturn_t irqh_interrupt(int irq, void *p) @@ -92,7 +90,7 @@ irqh_dev_write(struct file *fp, const ch if (pdp) { if (pci_enable_device(pdp)) ERROR("device not enabled\n"); - if ((unsigned)(n = pdp->irq) >= NINTR) { + if ((unsigned)(n = pdp->irq) >= NR_IRQS) { ERROR("device has invalid IRQ set\n"); return -EINVAL;...
2008 Jun 27
2
PCI device assignment to guests (userspace)
Userspace patches for the pci-passthrough functionality. The major updates since the last post are: - Loop to add passthrough devices in pc_init1 - Handle errors in read/write calls - Allow invocation without irq number for in-kernel irqchip Other than this, several small things were fixed according to review comments received last time.
2008 Jun 27
2
PCI device assignment to guests (userspace)
Userspace patches for the pci-passthrough functionality. The major updates since the last post are: - Loop to add passthrough devices in pc_init1 - Handle errors in read/write calls - Allow invocation without irq number for in-kernel irqchip Other than this, several small things were fixed according to review comments received last time.