]> git.baikalelectronics.ru Git - kernel.git/commitdiff
hexagon: Fix function name in die()
authorNathan Chancellor <nathan@kernel.org>
Mon, 27 Dec 2021 18:48:49 +0000 (11:48 -0700)
committerEric W. Biederman <ebiederm@xmission.com>
Sat, 8 Jan 2022 15:42:15 +0000 (09:42 -0600)
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 <nathan@kernel.org>
Link: https://lkml.kernel.org/r/20211227184851.2297759-2-nathan@kernel.org
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
arch/hexagon/kernel/traps.c

index 6dd6cf0ab711fdc4121f4d257f0d95de7965d91b..1240f038cce02b0f47e02f5becd561711303d4bb 100644 (file)
@@ -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;
 }