From: Nathan Chancellor Date: Thu, 2 Feb 2023 04:42:44 +0000 (-0800) Subject: hexagon: Fix function name in die() X-Git-Tag: baikal/aarch64/sdk5.9~17 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=d4165b8434184a4ea362975ecadf92cb1110ecd0;p=kernel.git hexagon: Fix function name in die() commit 3f20e22ace9658b5adc13ddb696b9f0c911c64f4 upstream. 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: 238bcd2dab75 ("exit: Add and use make_task_dead.") Signed-off-by: Nathan Chancellor Link: https://lkml.kernel.org/r/20211227184851.2297759-2-nathan@kernel.org Signed-off-by: Eric W. Biederman Signed-off-by: Eric Biggers Signed-off-by: Sasha Levin --- diff --git a/arch/hexagon/kernel/traps.c b/arch/hexagon/kernel/traps.c index bfd04a388bcac..f69eae3f32bd2 100644 --- a/arch/hexagon/kernel/traps.c +++ b/arch/hexagon/kernel/traps.c @@ -221,7 +221,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; }