]> 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)
commit2069b16de30044dc62407206016c769b47a54442
treeee77b55baf8b801c978d8b1203e0ca663080c362
parent8025c907bb229df896bb154a0a7a33ff4c6308ed
csky: Fix function name in csky_alignment() and die()

commit 7e238a6c086e541e005899f50b4df0ff8640e72c 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: 238bcd2dab75 ("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