search for: irqh_ffs

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

2008 Apr 08
1
[PATCH] use NR_IRQS for irq count
...g, NINTR); -static DECLARE_BITMAP(handled, NINTR); +static DECLARE_BITMAP(pending, NR_IRQS); +static DECLARE_BITMAP(handled, NR_IRQS); #define irqh_on(which, bit) test_bit(bit, 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")...
2008 Apr 08
1
[PATCH] use NR_IRQS for irq count
...g, NINTR); -static DECLARE_BITMAP(handled, NINTR); +static DECLARE_BITMAP(pending, NR_IRQS); +static DECLARE_BITMAP(handled, NR_IRQS); #define irqh_on(which, bit) test_bit(bit, 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")...
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.