]> xenbits.xensource.com Git - xen.git/commit
arch/irq: Centralise no_irq_type
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 30 May 2024 17:58:18 +0000 (18:58 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 31 May 2024 21:03:30 +0000 (22:03 +0100)
commit03147e6837ff045dbc328be876b9600f7040c771
tree2f7ef23c65e061e33dce5c9b0845c5ffcc449909
parent8aeda4a241ab9bc3e891dce140218be953631718
arch/irq: Centralise no_irq_type

Having no_irq_type defined per arch, but using common callbacks is a mess, and
is particualrly hard to bootstrap a new architecture with.

Now that the ack()/end() hooks have been exported suitably, move the
definition of no_irq_type into common/irq.c, and make it const too for good
measure.

No functional change, but a whole lot less tangled.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Julien Grall <jgrall@amazon.com>
Release-Acked-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
xen/arch/arm/irq.c
xen/arch/ppc/stubs.c
xen/arch/x86/irq.c
xen/common/irq.c
xen/include/xen/irq.h