]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.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)
committerKamal Mostafa <kamal@canonical.com>
Fri, 10 Jun 2016 13:32:25 +0000 (06:32 -0700)
commit3468d704e1fd2159df037e827804c86b7665ceae
treee46b3bc67efab92e2d83f310a302815638d014c4
parentd14ab851f9f012c0b9a7bb6750643ebb17657cca
xen/x86: actually allocate legacy interrupts on PV guests

BugLink: http://bugs.launchpad.net/bugs/1588945
commit 702f926067d2a4b28c10a3c41a1172dd62d9e735 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
arch/x86/pci/xen.c