]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
hexagon: Fix function name in die()
authorNathan Chancellor <nathan@kernel.org>
Fri, 3 Feb 2023 00:27:07 +0000 (16:27 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Feb 2023 06:49:45 +0000 (07:49 +0100)
commit 4f0712ccec09c071e221242a2db9a6779a55a949 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: 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>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/hexagon/kernel/traps.c

index ac8154992f3eb2001e5a75bd2f233fb20b11ea48..34a74f73f16905daf790d126d54367370a391a73 100644 (file)
@@ -234,7 +234,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;
 }