Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

genirq/matrix, LoongArch: Delete IRQ_MATRIX_BITS leftovers

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

Signed-off-by: Nam Cao <namcao@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260316072850.467995-1-namcao@linutronix.de

authored by

Nam Cao and committed by
Thomas Gleixner
56c167a0 5a8103a6

+1 -2
-1
arch/loongarch/include/asm/irq.h
··· 48 48 */ 49 49 #define NR_VECTORS 256 50 50 #define NR_LEGACY_VECTORS 16 51 - #define IRQ_MATRIX_BITS NR_VECTORS 52 51 53 52 #define AVEC_IRQ_SHIFT 4 54 53 #define AVEC_IRQ_BIT 8
+1 -1
kernel/irq/matrix.c
··· 39 39 40 40 /** 41 41 * irq_alloc_matrix - Allocate a irq_matrix structure and initialize it 42 - * @matrix_bits: Number of matrix bits must be <= IRQ_MATRIX_BITS 42 + * @matrix_bits: Number of matrix bits 43 43 * @alloc_start: From which bit the allocation search starts 44 44 * @alloc_end: At which bit the allocation search ends, i.e first 45 45 * invalid bit