Commit 56c167a0 authored by Nam Cao's avatar Nam Cao Committed by Thomas Gleixner
Browse files

genirq/matrix, LoongArch: Delete IRQ_MATRIX_BITS leftovers



Delete IRQ_MATRIX_BITS leftovers after commit 5b98d210 ("genirq/matrix:
Dynamic bitmap allocation") has made IRQ_MATRIX_BITS obsolete.

Signed-off-by: default avatarNam Cao <namcao@linutronix.de>
Signed-off-by: default avatarThomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260316072850.467995-1-namcao@linutronix.de
parent 5a8103a6
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -48,7 +48,6 @@ void spurious_interrupt(void);
 */
#define NR_VECTORS		256
#define NR_LEGACY_VECTORS	16
#define IRQ_MATRIX_BITS		NR_VECTORS

#define AVEC_IRQ_SHIFT		4
#define AVEC_IRQ_BIT		8
+1 −1
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@ struct irq_matrix {

/**
 * irq_alloc_matrix - Allocate a irq_matrix structure and initialize it
 * @matrix_bits:	Number of matrix bits must be <= IRQ_MATRIX_BITS
 * @matrix_bits:	Number of matrix bits
 * @alloc_start:	From which bit the allocation search starts
 * @alloc_end:		At which bit the allocation search ends, i.e first
 *			invalid bit