Skip to content

Commit fab0cdc

Browse files
Andrew JonesMarc Zyngier
authored andcommitted
irqchip/gic-v3: Fix copy+paste mistakes in defines
ICC_SGI1R_AFFINITY_{2,3}_MASK are unused, which is good because they were defined with the wrong shifts. Signed-off-by: Andrew Jones <[email protected]> Signed-off-by: Marc Zyngier <[email protected]>
1 parent dd5f1b0 commit fab0cdc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/linux/irqchip/arm-gic-v3.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,10 +307,10 @@
307307
#define ICC_SGI1R_SGI_ID_SHIFT 24
308308
#define ICC_SGI1R_SGI_ID_MASK (0xfULL << ICC_SGI1R_SGI_ID_SHIFT)
309309
#define ICC_SGI1R_AFFINITY_2_SHIFT 32
310-
#define ICC_SGI1R_AFFINITY_2_MASK (0xffULL << ICC_SGI1R_AFFINITY_1_SHIFT)
310+
#define ICC_SGI1R_AFFINITY_2_MASK (0xffULL << ICC_SGI1R_AFFINITY_2_SHIFT)
311311
#define ICC_SGI1R_IRQ_ROUTING_MODE_BIT 40
312312
#define ICC_SGI1R_AFFINITY_3_SHIFT 48
313-
#define ICC_SGI1R_AFFINITY_3_MASK (0xffULL << ICC_SGI1R_AFFINITY_1_SHIFT)
313+
#define ICC_SGI1R_AFFINITY_3_MASK (0xffULL << ICC_SGI1R_AFFINITY_3_SHIFT)
314314

315315
#include <asm/arch_gicv3.h>
316316

0 commit comments

Comments
 (0)