summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorNathan Chancellor <nathan@kernel.org>2021-12-27 19:48:49 +0100
committerEric W. Biederman <ebiederm@xmission.com>2022-01-08 16:42:15 +0100
commit4f0712ccec09c071e221242a2db9a6779a55a949 (patch)
treeefd047b7eab3bcc49dc1475492fed5a6bc627085 /arch
parentkthread: Generalize pf_io_worker so it can point to struct kthread (diff)
downloadlinux-4f0712ccec09c071e221242a2db9a6779a55a949.tar.xz
linux-4f0712ccec09c071e221242a2db9a6779a55a949.zip
hexagon: Fix function name in die()
When building ARCH=hexagon defconfig: arch/hexagon/kernel/traps.c:217:2: error: implicit declaration of function 'make_dead_task' [-Werror,-Wimplicit-function-declaration] make_dead_task(err); ^ The function's name is make_task_dead(), change it so there is no more build error. Fixes: 0e25498f8cd4 ("exit: Add and use make_task_dead.") Signed-off-by: Nathan Chancellor <nathan@kernel.org> Link: https://lkml.kernel.org/r/20211227184851.2297759-2-nathan@kernel.org Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/hexagon/kernel/traps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/hexagon/kernel/traps.c b/arch/hexagon/kernel/traps.c
index 6dd6cf0ab711..1240f038cce0 100644
--- a/arch/hexagon/kernel/traps.c
+++ b/arch/hexagon/kernel/traps.c
@@ -214,7 +214,7 @@ int die(const char *str, struct pt_regs *regs, long err)
panic("Fatal exception");
oops_exit();
- make_dead_task(err);
+ make_task_dead(err);
return 0;
}