linux-stable/arch
Randy Dunlap 1b9a33a94b ia64: make IA64_MCA_RECOVERY bool instead of tristate
commit dbecf9b8b8 upstream.

In linux-next, IA64_MCA_RECOVERY uses the (new) function
make_task_dead(), which is not exported for use by modules.  Instead of
exporting it for one user, convert IA64_MCA_RECOVERY to be a bool
Kconfig symbol.

In a config file from "kernel test robot <lkp@intel.com>" for a
different problem, this linker error was exposed when
CONFIG_IA64_MCA_RECOVERY=m.

Fixes this build error:

  ERROR: modpost: "make_task_dead" [arch/ia64/kernel/mca_recovery.ko] undefined!

Link: https://lkml.kernel.org/r/20220124213129.29306-1-rdunlap@infradead.org
Fixes: 0e25498f8c ("exit: Add and use make_task_dead.")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Suggested-by: Christoph Hellwig <hch@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Tony Luck <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-02-01 08:23:20 +01:00
..
alpha exit: Add and use make_task_dead. 2023-02-01 08:23:19 +01:00
arc arch: setup PF_IO_WORKER threads like PF_KTHREAD 2023-01-04 11:39:22 +01:00
arm exit: Add and use make_task_dead. 2023-02-01 08:23:19 +01:00
arm64 exit: Add and use make_task_dead. 2023-02-01 08:23:19 +01:00
c6x c6x: add support for TIF_NOTIFY_SIGNAL 2023-01-04 11:39:21 +01:00
csky csky: Fix function name in csky_alignment() and die() 2023-02-01 08:23:20 +01:00
h8300 h8300: Fix build errors from do_exit() to make_task_dead() transition 2023-02-01 08:23:19 +01:00
hexagon hexagon: Fix function name in die() 2023-02-01 08:23:19 +01:00
ia64 ia64: make IA64_MCA_RECOVERY bool instead of tristate 2023-02-01 08:23:20 +01:00
m68k exit: Add and use make_task_dead. 2023-02-01 08:23:19 +01:00
microblaze exit: Add and use make_task_dead. 2023-02-01 08:23:19 +01:00
mips exit: Add and use make_task_dead. 2023-02-01 08:23:19 +01:00
nds32 exit: Add and use make_task_dead. 2023-02-01 08:23:19 +01:00
nios2 exit: Add and use make_task_dead. 2023-02-01 08:23:19 +01:00
openrisc exit: Add and use make_task_dead. 2023-02-01 08:23:19 +01:00
parisc exit: Add and use make_task_dead. 2023-02-01 08:23:19 +01:00
powerpc exit: Add and use make_task_dead. 2023-02-01 08:23:19 +01:00
riscv exit: Add and use make_task_dead. 2023-02-01 08:23:19 +01:00
s390 exit: Add and use make_task_dead. 2023-02-01 08:23:19 +01:00
sh exit: Add and use make_task_dead. 2023-02-01 08:23:19 +01:00
sparc exit: Add and use make_task_dead. 2023-02-01 08:23:19 +01:00
um arch: setup PF_IO_WORKER threads like PF_KTHREAD 2023-01-04 11:39:22 +01:00
x86 exit: Add and use make_task_dead. 2023-02-01 08:23:19 +01:00
xtensa exit: Add and use make_task_dead. 2023-02-01 08:23:19 +01:00
.gitignore
Kconfig