[merged] x86-avoid-early-crash-in-disable_local_apic.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     x86: avoid early crash in disable_local_APIC()
has been removed from the -mm tree.  Its filename was
     x86-avoid-early-crash-in-disable_local_apic.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: x86: avoid early crash in disable_local_APIC()
From: "Jan Beulich" <jbeulich@xxxxxxxxxx>

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

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: "H. Peter Anvin" <hpa@xxxxxxxxx>
Cc: Andi Kleen <andi@xxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 arch/x86/kernel/apic.c |    4 ++++
 1 file changed, 4 insertions(+)

diff -puN arch/x86/kernel/apic.c~x86-avoid-early-crash-in-disable_local_apic arch/x86/kernel/apic.c
--- a/arch/x86/kernel/apic.c~x86-avoid-early-crash-in-disable_local_apic
+++ a/arch/x86/kernel/apic.c
@@ -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();
 
 	/*
_

Patches currently in -mm which might be from jbeulich@xxxxxxxxxx are

linux-next.patch
x86-simplify-highmem-related-kconfig-entries.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux