summaryrefslogtreecommitdiffstats
path: root/arch/c6x
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-07-31 13:39:31 +0200
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-08-02 08:06:48 +0900
commit06ec64b84c357693e9a5540de8eedfc775dbae12 (patch)
tree3145268247062ba0b41175280a65f152070e5ee7 /arch/c6x
parent1572497cb0e6d2016078bc9d5a95786bb878389f (diff)
downloadlinux-0-day-06ec64b84c357693e9a5540de8eedfc775dbae12.tar.gz
linux-0-day-06ec64b84c357693e9a5540de8eedfc775dbae12.tar.xz
Kconfig: consolidate the "Kernel hacking" menu
Move the source of lib/Kconfig.debug and arch/$(ARCH)/Kconfig.debug to the top-level Kconfig. For two architectures that means moving their arch-specific symbols in that menu into a new arch Kconfig.debug file, and for a few more creating a dummy file so that we can include it unconditionally. Also move the actual 'Kernel hacking' menu to lib/Kconfig.debug, where it belongs. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/c6x')
-rw-r--r--arch/c6x/Kconfig15
-rw-r--r--arch/c6x/Kconfig.debug10
2 files changed, 10 insertions, 15 deletions
diff --git a/arch/c6x/Kconfig b/arch/c6x/Kconfig
index 441bbe089b963..904b3375331e1 100644
--- a/arch/c6x/Kconfig
+++ b/arch/c6x/Kconfig
@@ -115,18 +115,3 @@ source "kernel/Kconfig.preempt"
source "kernel/Kconfig.hz"
endmenu
-
-menu "Kernel hacking"
-
-source "lib/Kconfig.debug"
-
-config ACCESS_CHECK
- bool "Check the user pointer address"
- default y
- help
- Usually the pointer transfer from user space is checked to see if its
- address is in the kernel space.
-
- Say N here to disable that check to improve the performance.
-
-endmenu
diff --git a/arch/c6x/Kconfig.debug b/arch/c6x/Kconfig.debug
new file mode 100644
index 0000000000000..c299e0d8eca34
--- /dev/null
+++ b/arch/c6x/Kconfig.debug
@@ -0,0 +1,10 @@
+# SPDX-License-Identifier: GPL-2.0
+
+config ACCESS_CHECK
+ bool "Check the user pointer address"
+ default y
+ help
+ Usually the pointer transfer from user space is checked to see if its
+ address is in the kernel space.
+
+ Say N here to disable that check to improve the performance.