x86: io-apic - interrupt remapping fix
commit5ffa4eb2224343ec3fbd492ffe71e28e797435b7
authorCyrill Gorcunov <gorcunov@gmail.com>
Thu, 18 Sep 2008 19:37:57 +0000 (18 23:37 +0400)
committerIngo Molnar <mingo@elte.hu>
Thu, 16 Oct 2008 14:53:11 +0000 (16 16:53 +0200)
tree728cd604177a5d4f392ef3f5290af37f06c8b033
parent2976fe20125587c944c8df48d991c38f0891fb28
x86: io-apic - interrupt remapping fix

Interrupt remapping could lead to NULL dereference in case of
kzalloc failed and memory leak in other way. So fix the
both cases.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: "Maciej W. Rozycki" <macro@linux-mips.org>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic.c
arch/x86/kernel/io_apic.c