]> xenbits.xensource.com Git - xen.git/commit
IRQ: u16 is too narrow for an event channel number
authorJan Beulich <jbeulich@suse.com>
Tue, 14 Jan 2020 11:03:47 +0000 (12:03 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 14 Jan 2020 11:03:47 +0000 (12:03 +0100)
commit892b9dcebdb7f646657e11cfdd95a385107bbefa
treec4aea48c826c65b49d8524b2db46232e6e06dff3
parent03bfe526ecadc86f31eda433b91dc90be0563919
IRQ: u16 is too narrow for an event channel number

FIFO event channels allow ports up to 2^17, so we need to use a wider
field in struct pirq. Move "masked" such that it may share the 8-byte
slot with struct arch_pirq on 64-bit arches, rather than leaving a
7-byte hole in all cases.

Take the opportunity and also add a comment regarding "arch" placement
within the structure.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/include/xen/irq.h