mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 16:18:45 +02:00
genirq/matrix, LoongArch: Delete IRQ_MATRIX_BITS leftovers
Delete IRQ_MATRIX_BITS leftovers after commit 5b98d210ac ("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
This commit is contained in:
parent
5a8103a6fb
commit
56c167a0c0
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user