Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Kconfig.debug: add METAG to dependency lists

Add [!]METAG to a couple of Kconfig dependencies in lib/Kconfig.debug.
Don't allow stack utilization instrumentation on metag, and allow
building with frame pointers.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: "Paul E. McKenney" <paul.mckenney@linaro.org>
Cc: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Michel Lespinasse <walken@google.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>

+2 -2
+2 -2
lib/Kconfig.debug
··· 730 730 731 731 config DEBUG_STACK_USAGE 732 732 bool "Stack utilization instrumentation" 733 - depends on DEBUG_KERNEL && !IA64 && !PARISC 733 + depends on DEBUG_KERNEL && !IA64 && !PARISC && !METAG 734 734 help 735 735 Enables the display of the minimum amount of free stack which each 736 736 task has ever had available in the sysrq-T and sysrq-P debug output. ··· 911 911 bool "Compile the kernel with frame pointers" 912 912 depends on DEBUG_KERNEL && \ 913 913 (CRIS || M68K || FRV || UML || \ 914 - AVR32 || SUPERH || BLACKFIN || MN10300) || \ 914 + AVR32 || SUPERH || BLACKFIN || MN10300 || METAG) || \ 915 915 ARCH_WANT_FRAME_POINTERS 916 916 default y if (DEBUG_INFO && UML) || ARCH_WANT_FRAME_POINTERS 917 917 help