Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9438ef7f authored by Ingo Molnar's avatar Ingo Molnar
Browse files

x86/apic: Fix UP boot crash

Commit 31b3c9d7 ("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: default avatarIngo Molnar <mingo@kernel.org>
parent 42fa4250
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1012,6 +1012,7 @@ void __init setup_arch(char **cmdline_p)
	init_cpu_to_node();

	init_apic_mappings();
	if (x86_io_apic_ops.init)
		x86_io_apic_ops.init();

	kvm_guest_init();