Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH] lib/Kconfig.debug: Restrict FRAME_POINTER for MIPS
@ 2013-06-11  9:49 Markos Chandras
  2013-06-11  9:49 ` Markos Chandras
  2013-06-11 14:55 ` Ralf Baechle
  0 siblings, 2 replies; 3+ messages in thread
From: Markos Chandras @ 2013-06-11  9:49 UTC (permalink / raw)
  To: linux-mips; +Cc: Markos Chandras

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 <markos.chandras@imgtec.com>
Acked-by: Steven J. Hill <Steven.Hill@imgtec.com>
---
This patch is for the upstream-sfr/mips-for-linux-next tree
---
 lib/Kconfig.debug | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 566cf2b..74fdc5c 100644
--- 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
 
-- 
1.8.2.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] lib/Kconfig.debug: Restrict FRAME_POINTER for MIPS
  2013-06-11  9:49 [PATCH] lib/Kconfig.debug: Restrict FRAME_POINTER for MIPS Markos Chandras
@ 2013-06-11  9:49 ` Markos Chandras
  2013-06-11 14:55 ` Ralf Baechle
  1 sibling, 0 replies; 3+ messages in thread
From: Markos Chandras @ 2013-06-11  9:49 UTC (permalink / raw)
  To: linux-mips; +Cc: Markos Chandras

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 <markos.chandras@imgtec.com>
Acked-by: Steven J. Hill <Steven.Hill@imgtec.com>
---
This patch is for the upstream-sfr/mips-for-linux-next tree
---
 lib/Kconfig.debug | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 566cf2b..74fdc5c 100644
--- 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
 
-- 
1.8.2.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] lib/Kconfig.debug: Restrict FRAME_POINTER for MIPS
  2013-06-11  9:49 [PATCH] lib/Kconfig.debug: Restrict FRAME_POINTER for MIPS Markos Chandras
  2013-06-11  9:49 ` Markos Chandras
@ 2013-06-11 14:55 ` Ralf Baechle
  1 sibling, 0 replies; 3+ messages in thread
From: Ralf Baechle @ 2013-06-11 14:55 UTC (permalink / raw)
  To: Markos Chandras; +Cc: linux-mips

Applied.

  Ralf

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-06-11 14:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-11  9:49 [PATCH] lib/Kconfig.debug: Restrict FRAME_POINTER for MIPS Markos Chandras
2013-06-11  9:49 ` Markos Chandras
2013-06-11 14:55 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox