mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
![Masahiro Yamada](/assets/img/avatar_default.png)
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>
11 lines
368 B
Text
11 lines
368 B
Text
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
config EARLY_PRINTK
|
|
bool "Activate early kernel debugging"
|
|
default y
|
|
select SERIAL_CORE_CONSOLE
|
|
help
|
|
Enable early printk on console
|
|
This is useful for kernel debugging when your machine crashes very
|
|
early before the console code is initialized.
|
|
You should normally say N here, unless you want to debug such a crash.
|