summaryrefslogtreecommitdiffstats
path: root/arch/nios2/Kconfig.debug
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-06-14 14:04:23 +0800
committerLey Foon Tan <ley.foon.tan@intel.com>2019-07-04 11:32:09 +0800
commit029f162ab09d254e03050908c8554f6328d3908a (patch)
tree30ce333c1e134d0f35ffc00bd252d9ea87a369a1 /arch/nios2/Kconfig.debug
parent6fbc7275c7a9ba97877050335f290341a1fd8dbf (diff)
downloadlinux-029f162ab09d254e03050908c8554f6328d3908a.tar.bz2
nios2: remove pointless second entry for CONFIG_TRACE_IRQFLAGS_SUPPORT
Strangely enough, NIOS2 defines TRACE_IRQFLAGS_SUPPORT twice with different values, which is pointless and confusing. [1] arch/nios2/Kconfig config TRACE_IRQFLAGS_SUPPORT def_bool n [2] arch/nios2/Kconfig.debug config TRACE_IRQFLAGS_SUPPORT def_bool y [1] is included before [2]. In the Kconfig syntax, the first one is effective. So, TRACE_IRQFLAGS_SUPPORT is always 'n'. The second define in arch/nios2/Kconfig.debug is dead code. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
Diffstat (limited to 'arch/nios2/Kconfig.debug')
-rw-r--r--arch/nios2/Kconfig.debug3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/nios2/Kconfig.debug b/arch/nios2/Kconfig.debug
index f1da8a7b17ff..a8bc06e96ef5 100644
--- a/arch/nios2/Kconfig.debug
+++ b/arch/nios2/Kconfig.debug
@@ -1,8 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
-config TRACE_IRQFLAGS_SUPPORT
- def_bool y
-
config EARLY_PRINTK
bool "Activate early kernel debugging"
default y