From: Tomasz Lauda tomasz.lauda@linux.intel.com
Currently we support maximum of 32 children irqs, so limit the irq mask to not overflow the children irq array.
Signed-off-by: Tomasz Lauda tomasz.lauda@linux.intel.com --- src/include/reef/interrupt-map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/include/reef/interrupt-map.h b/src/include/reef/interrupt-map.h index b9682587..a29f85e7 100644 --- a/src/include/reef/interrupt-map.h +++ b/src/include/reef/interrupt-map.h @@ -39,7 +39,7 @@ #define REEF_IRQ_NUM_SHIFT 0 #define REEF_IRQ_NUM_MASK 0xff #define REEF_IRQ_LEVEL_MASK 0xff -#define REEF_IRQ_BIT_MASK 0xff +#define REEF_IRQ_BIT_MASK 0x1f #define REEF_IRQ_CPU_MASK 0xff
#define REEF_IRQ(_bit, _level, _cpu, _number) \