|
@@ -55,7 +55,8 @@ static DEFINE_PER_CPU(int, irq_depth);
|
|
|
|
|
|
|
|
/* State for allocating IRQs on Gx. */
|
|
/* State for allocating IRQs on Gx. */
|
|
|
#if CHIP_HAS_IPI()
|
|
#if CHIP_HAS_IPI()
|
|
|
-static unsigned long available_irqs = ~(1UL << IRQ_RESCHEDULE);
|
|
|
|
|
|
|
+static unsigned long available_irqs = ((1UL << NR_IRQS) - 1) &
|
|
|
|
|
+ (~(1UL << IRQ_RESCHEDULE));
|
|
|
static DEFINE_SPINLOCK(available_irqs_lock);
|
|
static DEFINE_SPINLOCK(available_irqs_lock);
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|