x86, ioapic: Throw BUG instead of NULL dereference
authorCyrill Gorcunov <gorcunov@openvz.org>
Sat, 1 Aug 2009 07:48:00 +0000 (11:48 +0400)
committerIngo Molnar <mingo@elte.hu>
Wed, 5 Aug 2009 08:30:50 +0000 (10:30 +0200)
commita7428cd2ef77734465e36bceb43290e37e2a97c6
tree244b5b95fb559806307103a14c464a9f1d38386c
parent2977fb3ffc8493a2f4f0a362e8660a6cde9f1bb9
x86, ioapic: Throw BUG instead of NULL dereference

Instead of plain NULL deref we better throw error
message with a backtrace. Actually we need more
gracious error handling here. Meanwhile leave it
as is.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: yinghai@kernel.org
LKML-Reference: <20090801075435.769301745@openvz.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic/io_apic.c