]> git.ipfire.org Git - thirdparty/linux.git/commit
genirq: Unexport nr_irqs
authorBart Van Assche <bvanassche@acm.org>
Tue, 15 Oct 2024 19:09:53 +0000 (12:09 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 16 Oct 2024 19:56:59 +0000 (21:56 +0200)
commitef4c675dc2961ee533bdc1ea20390761df0af5be
tree31161e2c4767aae1f14f220cfd6b32748bfc4178
parent1ad2048bf7146efb83bc033147ca1611a7fe8494
genirq: Unexport nr_irqs

Unexport nr_irqs and declare it static now that all code that reads or
modifies nr_irqs has been converted to number_of_interrupts() /
set_number_of_interrupts(). Change the type of 'nr_irqs' from 'int' into
'unsigned int' to match the return type and argument type of the
irq_get_nr_iqs() / irq_set_nr_irqs() functions.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20241015190953.1266194-23-bvanassche@acm.org
include/linux/irqnr.h
kernel/irq/irqdesc.c