Skip to contentSkip to conversation

sparc: unify Kconfig.debug

PATCH Applied Sam Ravnborg 1 participant 1 message Nov 15, 2008 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore
#0 lore raw

PATCH 1/8 sparc: unify Kconfig.debug

Let sparc and sparc64 use the same Kconfig.debug

---
 arch/sparc/Kconfig.debug   |   26 ++++++++++++++++++++++++++
 arch/sparc64/Kconfig       |    2 +-
 arch/sparc64/Kconfig.debug |   44 --------------------------------------------
 3 files changed, 27 insertions(+), 45 deletions(-)
 delete mode 100644 arch/sparc64/Kconfig.debug
arch/sparc/Kconfig.debug +26 -0
index 87dd496..b8a15e2 100644
@@ -15,4 +15,30 @@ config DEBUG_STACK_USAGE
 
 	  This option will slow down process creation somewhat.
 
+config DEBUG_DCFLUSH
+	bool "D-cache flush debugging"
+	depends on SPARC64 && DEBUG_KERNEL
+
+config STACK_DEBUG
+	bool "Stack Overflow Detection Support"
+
+config DEBUG_PAGEALLOC
+	bool "Debug page memory allocations"
+	depends on SPARC64 && DEBUG_KERNEL && !HIBERNATION
+	help
+	  Unmap pages from the kernel linear mapping after free_pages().
+	  This results in a large slowdown, but helps to find certain types
+	  of memory corruptions.
+
+config MCOUNT
+	bool
+	depends on SPARC64
+	depends on STACK_DEBUG || FUNCTION_TRACER
+	default y
+
+config FRAME_POINTER
+	bool
+	depends on MCOUNT
+	default y
+
 endmenu
arch/sparc64/Kconfig +1 -1
index 3b96e70..422c2b1 100644
@@ -424,7 +424,7 @@ source "drivers/sbus/char/Kconfig"
 
 source "fs/Kconfig"
 
-source "arch/sparc64/Kconfig.debug"
+source "arch/sparc/Kconfig.debug"
 
 source "security/Kconfig"
 
arch/sparc64/Kconfig.debug deleted +0 -44

44 lines not on this page · raw message

Signature · 1 line
1.5.6.GIT