xen/events: Reduce irq_info:: Spurious_cnt storage size
authorThomas Gleixner <tglx@linutronix.de>
Thu, 10 Dec 2020 19:26:04 +0000 (20:26 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 15 Dec 2020 15:19:37 +0000 (16:19 +0100)
commit62ebcda8a8dfa4aeaa3288020a082787910afebc
treed5671333409d71e98bf96ccbe8af5c096f81729d
parentf7a6f994b4f0ee69c656dda3da11431d92d6b08f
xen/events: Reduce irq_info:: Spurious_cnt storage size

To prepare for interrupt spreading reduce the storage size of
irq_info::spurious_cnt to u8 so the required flag for the spreading logic
will not increase the storage size.

Protect the usage site against overruns.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: Juergen Gross <jgross@suse.com>
Cc: Stefano Stabellini <sstabellini@kernel.org>
Link: https://lore.kernel.org/r/20201210194045.360198201@linutronix.de
drivers/xen/events/events_base.c