Skip to contentSkip to conversation

Patch "MIPS: Fix enabling of DEBUG_STACKOVERFLOW" has been added to the 4.0-stable tree

PATCH [email protected] 1 participant 1 message Jun 19, 2015

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

MIPS: Fix enabling of DEBUG_STACKOVERFLOW

to the 4.0-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
mips-fix-enabling-of-debug_stackoverflow.patch
and it can be found in the queue-4.0 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 5f35b9cd553fd64415b563497d05a563c988dbd6 Mon Sep 17 00:00:00 2001

From: James Hogan <[email protected]>
Date: Thu, 4 Jun 2015 13:25:27 +0100
Subject: MIPS: Fix enabling of DEBUG_STACKOVERFLOW

From: James Hogan <[email protected]>

commit 5f35b9cd553fd64415b563497d05a563c988dbd6 upstream.

Commit 334c86c494b9 ("MIPS: IRQ: Add stackoverflow detection") added kernel stack overflow detection, however it only enabled it conditional upon the preprocessor definition DEBUG_STACKOVERFLOW, which is never actually defined. The Kconfig option is called DEBUG_STACKOVERFLOW, which manifests to the preprocessor as CONFIG_DEBUG_STACKOVERFLOW, so switch it to using that definition instead.

Fixes 334c86c494b9 ("MIPS: IRQ: Add stackoverflow detection")
Cc Ralf Baechle <[email protected]>
Cc Adam Jiang <[email protected]>

Patchwork: http://patchwork.linux-mips.org/patch/10531/

---
 arch/mips/kernel/irq.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/kernel/irq.c +1 -1
@@ -109,7 +109,7 @@ void __init init_IRQ(void)
 #endif
 }
 
-#ifdef DEBUG_STACKOVERFLOW
+#ifdef CONFIG_DEBUG_STACKOVERFLOW
 static inline void check_stack_overflow(void)
 {
 	unsigned long sp;

Patches currently in stable-queue which might be from [email protected] are

queue-4.0/mips-fix-enabling-of-debug_stackoverflow.patch queue-4.0/mips-kvm-do-not-sign-extend-on-unsigned-mmio-load.patch --
To unsubscribe from this list: send the line "unsubscribe stable" in