]> git.baikalelectronics.ru Git - kernel.git/commitdiff
hexagon: Fix function name in die()
authorNathan Chancellor <nathan@kernel.org>
Thu, 2 Feb 2023 04:42:44 +0000 (20:42 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Feb 2023 06:52:49 +0000 (07:52 +0100)
commit f41233ac339129cc57d4d00e1f268394d8ad478c 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: e60b6fffca7b ("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>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/hexagon/kernel/traps.c

index bfd04a388bcacad615278794a4e3b4b1dd9d6b4c..f69eae3f32bd2f3054aab69dc2a383500d2d35b3 100644 (file)
@@ -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;
 }