search for: irqh_lock

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

Did you mean: irq_lock
2008 Apr 08
1
[PATCH] use NR_IRQS for irq count
...--- 1 files changed, 7 insertions(+), 9 deletions(-) diff --git a/irqhook/irqhook_main.c b/irqhook/irqhook_main.c index 5f414d1..828c70a 100644 --- a/irqhook/irqhook_main.c +++ b/irqhook/irqhook_main.c @@ -31,15 +31,13 @@ #define ERROR(fmt, args...) printk("<1>" static spinlock_t irqh_lock; static wait_queue_head_t irqh_proc_list; -enum {NINTR = 256}; - -static DECLARE_BITMAP(pending, 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_s...
2008 Apr 08
1
[PATCH] use NR_IRQS for irq count
...--- 1 files changed, 7 insertions(+), 9 deletions(-) diff --git a/irqhook/irqhook_main.c b/irqhook/irqhook_main.c index 5f414d1..828c70a 100644 --- a/irqhook/irqhook_main.c +++ b/irqhook/irqhook_main.c @@ -31,15 +31,13 @@ #define ERROR(fmt, args...) printk("<1>" static spinlock_t irqh_lock; static wait_queue_head_t irqh_proc_list; -enum {NINTR = 256}; - -static DECLARE_BITMAP(pending, 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_s...
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.