xen/x86: actually allocate legacy interrupts on PV guests
authorStefano Stabellini <sstabellini@kernel.org>
Wed, 20 Apr 2016 13:15:01 +0000 (14:15 +0100)
committerDavid Vrabel <david.vrabel@citrix.com>
Tue, 24 May 2016 11:58:19 +0000 (12:58 +0100)
commit702f926067d2a4b28c10a3c41a1172dd62d9e735
tree72682eb17139d59c83a66d3fdf03b30c31775c89
parent971a69db7dc02faaeed325c195f5db5da597cb58
xen/x86: actually allocate legacy interrupts on PV guests

b4ff8389ed14 is incomplete: relies on nr_legacy_irqs() to get the number
of legacy interrupts when actually nr_legacy_irqs() returns 0 after
probe_8259A(). Use NR_IRQS_LEGACY instead.

Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
CC: stable@vger.kernel.org
arch/x86/pci/xen.c