x86/apic: Fix UP boot crash
authorIngo Molnar <mingo@kernel.org>
Mon, 7 May 2012 17:19:56 +0000 (19:19 +0200)
committerIngo Molnar <mingo@kernel.org>
Mon, 7 May 2012 17:19:56 +0000 (19:19 +0200)
commit9438ef7f4ea73d5430a330fc206f97826eb9fb16
tree2b962b63d0d1ec650e4e6bcce928a5af5e12f2ac
parent42fa4250436304d4650fa271f37671f6cee24e08
x86/apic: Fix UP boot crash

Commit 31b3c9d72340 ("xen/x86: Implement x86_apic_ops") implemented
this:

... without considering that on UP the function pointer might be NULL.

Cc: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Link: http://lkml.kernel.org/n/tip-3pfty0ml4yp62phbkchichh0@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/setup.c