x86: Fix NULL pointer access in irq_force_complete_move() for Xen guests
authorPrarit Bhargava <prarit@redhat.com>
Tue, 27 Apr 2010 15:24:42 +0000 (11:24 -0400)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 30 Apr 2010 21:31:38 +0000 (14:31 -0700)
commitbbd391a15d82e14efe9d69ba64cadb855b061dba
treefa390e76f76519efd389538f9a12027aaefd7f4d
parente67a807f3d9a82fa91817871f1c0e2e04da993b8
x86: Fix NULL pointer access in irq_force_complete_move() for Xen guests

Upstream PV guests fail to boot because of a NULL pointer in
irq_force_complete_move().  It is possible that xen guests have
irq_desc->chip_data = NULL.

Test for NULL chip_data pointer before attempting to complete an irq move.

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
LKML-Reference: <20100427152434.16193.49104.sendpatchset@prarit.bos.redhat.com>
Acked-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: <stable@kernel.org> [2.6.33]
arch/x86/kernel/apic/io_apic.c
This page took 0.025551 seconds and 5 git commands to generate.