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

Commit 4a13ad0b authored by Jan Beulich's avatar Jan Beulich Committed by Ingo Molnar
Browse files

x86: avoid early crash in disable_local_APIC()



E.g. when called due to an early panic.

Signed-off-by: default avatarJan Beulich <jbeulich@novell.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 5cca0cf1
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -895,6 +895,10 @@ void disable_local_APIC(void)
{
	unsigned int value;

	/* APIC hasn't been mapped yet */
	if (!apic_phys)
		return;

	clear_local_APIC();

	/*