From 3477df30d3d77d67261e78c8c29210c0a21fea04 Mon Sep 17 00:00:00 2001 From: Pierre-Louis Bossart Date: Wed, 4 Apr 2018 18:46:47 -0500 Subject: [PATCH] interrupts: fix non-sensical macro Parenthesis are not balanced, not sure if/how this ever worked? Signed-off-by: Pierre-Louis Bossart --- 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 a29f85e74..0f2206823 100644 --- a/src/include/reef/interrupt-map.h +++ b/src/include/reef/interrupt-map.h @@ -60,7 +60,7 @@ #define REEF_IRQ_NUMBER(_irq) \ ((_irq >> REEF_IRQ_NUM_SHIFT) & REEF_IRQ_NUM_MASK) #define REEF_IRQ_LEVEL(_level) \ - ((_level >> REEF_IRQ_LEVEL_SHIFT & REEF_IRQ_LEVEL_MASK) + ((_level >> REEF_IRQ_LEVEL_SHIFT) & REEF_IRQ_LEVEL_MASK) #define REEF_IRQ_BIT(_bit) \ ((_bit >> REEF_IRQ_BIT_SHIFT) & REEF_IRQ_BIT_MASK) #define REEF_IRQ_CPU(_cpu) \