]> xenbits.xensource.com Git - people/jgross/xen.git/commit
x86/hvm: fix vIO-APIC build without IRQ0_SPECIAL_ROUTING
authorRoger Pau Monne <roger.pau@citrix.com>
Mon, 27 Jul 2020 17:05:35 +0000 (19:05 +0200)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 28 Jul 2020 18:33:28 +0000 (19:33 +0100)
commit4489ffdec331cdd3a2e025f9def68e07403706d1
tree23f2c7a2b802b8565d3ff6a84bd8cdcf7426487f
parent1ee1441835f41f0a2303c761657ba69a5a1b4a7f
x86/hvm: fix vIO-APIC build without IRQ0_SPECIAL_ROUTING

pit_channel0_enabled needs to be guarded with IRQ0_SPECIAL_ROUTING
since it's only used when the special handling of ISA IRQ 0 is
enabled. However such helper being a single line it's better to just
inline it directly in vioapic_deliver where it's used.

No functional change.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/vioapic.c