]> git.baikalelectronics.ru Git - kernel.git/commit
csky: Fix function name in csky_alignment() and die()
authorNathan Chancellor <nathan@kernel.org>
Thu, 2 Feb 2023 04:42:46 +0000 (20:42 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Feb 2023 06:52:49 +0000 (07:52 +0100)
commitaf08cafd1d3470aef05b14851e24c5af9dfe9d53
treeee77b55baf8b801c978d8b1203e0ca663080c362
parentd3c9b769fd1e5aa2462205c43132926f9a9f274d
csky: Fix function name in csky_alignment() and die()

commit 6edcdbd247cc1d604af8feb72dc6eb4406f3e677 upstream.

When building ARCH=csky defconfig:

arch/csky/kernel/traps.c: In function 'die':
arch/csky/kernel/traps.c:112:17: error: implicit declaration of function
'make_dead_task' [-Werror=implicit-function-declaration]
  112 |                 make_dead_task(SIGSEGV);
      |                 ^~~~~~~~~~~~~~

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>
Reviewed-by: Guo Ren <guoren@kernel.org>
Link: https://lkml.kernel.org/r/20211227184851.2297759-4-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/csky/abiv1/alignment.c
arch/csky/kernel/traps.c