summary refs log tree commit diff
path: root/ipc/sem.c
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2010-10-18 13:47:48 -0700
committerThomas Gleixner <tglx@linutronix.de>2010-10-19 09:25:33 +0200
commit9717967c4b704ce344c954afb5bb160aa9c01c34 (patch)
tree9f0865f56d5cd85eb1b604cdd34e005a7b1f65fc /ipc/sem.c
parent032fa36091a925f555158f4e80f8a09d951cdb10 (diff)
downloadlinux-9717967c4b704ce344c954afb5bb160aa9c01c34.tar.gz
x86: ioapic: Call free_irte only if interrupt remapping enabled
On a system that support intr-rempping when booting with "intremap=off"

[  177.895501] BUG: unable to handle kernel NULL pointer dereference at 00000000000000f8
[  177.913316] IP: [<ffffffff8145fc18>] free_irte+0x47/0xc0
...
[  178.173326] Call Trace:
[  178.173574]  [<ffffffff810515b4>] destroy_irq+0x3a/0x75
[  178.192934]  [<ffffffff81051834>] arch_teardown_msi_irq+0xe/0x10
[  178.193418]  [<ffffffff81458dc3>] arch_teardown_msi_irqs+0x56/0x7f
[  178.213021]  [<ffffffff81458e79>] free_msi_irqs+0x8d/0xeb

Call free_irte only when interrupt remapping is enabled.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <4CBCB274.7010108@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Diffstat (limited to 'ipc/sem.c')
0 files changed, 0 insertions, 0 deletions