Skip to content

Commit

Permalink
sparc: unify Kconfig.debug
Browse files Browse the repository at this point in the history
Let sparc and sparc64 use the same Kconfig.debug

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Sam Ravnborg authored and David S. Miller committed Dec 4, 2008
1 parent 293666b commit 5bb28a5
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 45 deletions.
26 changes: 26 additions & 0 deletions arch/sparc/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion arch/sparc64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
44 changes: 0 additions & 44 deletions arch/sparc64/Kconfig.debug

This file was deleted.

0 comments on commit 5bb28a5

Please sign in to comment.