]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 3 Jun 2016 19:37:55 +0000 (15:37 -0400)
commit4014e44c727e539e342882aded6be2aec7e811d0
treee2bb5025cf7d7afaf1a3bb1ae71f262c95663ace
parent9503599d792cc2ec3e512d6b9437da2726012bf9
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
(cherry picked from commit 702f926067d2a4b28c10a3c41a1172dd62d9e735)
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
OraBug: 23527575 - UEK4 can't run under Xen nested virtualization
arch/x86/pci/xen.c