MIPS: irq: Use DECLARE_BITMAP
[platform/kernel/linux-starfive.git] / arch / mips / kernel / irq.c
index d2bfbc2..51f57d8 100644 (file)
@@ -29,7 +29,7 @@
 int kgdb_early_setup;
 #endif
 
-static unsigned long irq_map[NR_IRQS / BITS_PER_LONG];
+static DECLARE_BITMAP(irq_map, NR_IRQS);
 
 int allocate_irqno(void)
 {