Subject: [ 58/79] lib/Kconfig.debug: Restrict FRAME_POINTER for MIPS

From: Greg Kroah-Hartman <[email-masked]>
Date: Fri, 26 Jul 2013 13:47:48 -0700

3.10-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Markos Chandras <[email-masked]>

commit 25c87eae1725ed77a8b44d782a86abdc279b4ede upstream.

FAULT_INJECTION_STACKTRACE_FILTER selects FRAME_POINTER but
that symbol is not available for MIPS.

Fixes the following problem on a randconfig:
warning: (LOCKDEP && FAULT_INJECTION_STACKTRACE_FILTER && LATENCYTOP &&
 KMEMCHECK) selects FRAME_POINTER which has unmet direct dependencies
(DEBUG_KERNEL && (CRIS || M68K || FRV || UML || AVR32 || SUPERH || BLACKFIN ||
MN10300 || METAG) || ARCH_WANT_FRAME_POINTERS)

Signed-off-by: Markos Chandras <[email-masked]>
Acked-by: Steven J. Hill <[email-masked]>
Cc: [email-masked]
Patchwork: https://patchwork.linux-mips.org/patch/5441/
Signed-off-by: Ralf Baechle <[email-masked]>
Signed-off-by: Greg Kroah-Hartman <[email-masked]>

---
 lib/Kconfig.debug |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -1272,7 +1272,7 @@ config FAULT_INJECTION_STACKTRACE_FILTER
 	depends on FAULT_INJECTION_DEBUG_FS && STACKTRACE_SUPPORT
 	depends on !X86_64
 	select STACKTRACE
-	select FRAME_POINTER if !PPC && !S390 && !MICROBLAZE && !ARM_UNWIND
+	select FRAME_POINTER if !MIPS && !PPC && !S390 && !MICROBLAZE && !ARM_UNWIND
 	help
 	  Provide stacktrace filter for fault-injection capabilities

---

From: "Steven J. Hill" <[email-masked]>
Date: Sat, 27 Jul 2013 14:05:40 +0000

Looks good. Thanks Greg.

Sent from my Verizon Wireless 4G LTE Smartphone

----- Reply message -----
From: "Greg Kroah-Hartman" <[email-masked]>
To: "[email-masked]" <[email-masked]>
Cc: "Greg Kroah-Hartman" <[email-masked]>, "[email-masked]" <[email-masked]>, "Markos Chandras" <[email-masked]>, "Steven J. Hill" <[email-masked]>, "Ralf Baechle" <[email-masked]>, "[email-masked]" <[email-masked]>
Subject: [ 58/79] lib/Kconfig.debug: Restrict FRAME_POINTER for MIPS
Date: Fri, Jul 26, 2013 4:48 PM

------------------

---
 lib/Kconfig.debug |    2 +-

--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug