aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dump_stack.c
diff options
context:
space:
mode:
authorNick Desaulniers <[email protected]>2021-04-07 17:35:43 +0000
committerThomas Bogendoerfer <[email protected]>2021-04-23 12:07:55 +0000
commitc55944cc0ec57731931987ff478a9f69fe68f157 (patch)
treee5e405fe7f515395ee7d41bbcd1d50ffd67ba6ce /lib/dump_stack.c
parentmips: Do not include hi and lo in clobber list for R6 (diff)
downloadkernel-c55944cc0ec57731931987ff478a9f69fe68f157.tar.gz
kernel-c55944cc0ec57731931987ff478a9f69fe68f157.zip
MIPS: select ARCH_KEEP_MEMBLOCK unconditionally
While removing allnoconfig_y from Kconfig, ARCH=mips allnoconfig builds started failing with the error: WARNING: modpost: vmlinux.o(.text+0x9c70): Section mismatch in reference from the function reserve_exception_space() to the function .meminit.text:memblock_reserve() The function reserve_exception_space() references the function __meminit memblock_reserve(). This is often because reserve_exception_space lacks a __meminit annotation or the annotation of memblock_reserve is wrong. ERROR: modpost: Section mismatches detected. Set CONFIG_SECTION_MISMATCH_WARN_ONLY=y to allow them. allnoconfig disables DEBUG_KERNEL and thus ARCH_KEEP_MEMBLOCK, which changes __init_memblock to be equivalent to __meminit triggering the above error. Link: https://lore.kernel.org/linux-kbuild/[email protected]/ Reported-by: Guenter Roeck <[email protected]> Signed-off-by: Nick Desaulniers <[email protected]> Reviewed-by: Masahiro Yamada <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions