]> git.baikalelectronics.ru Git - kernel.git/commit
csky: Fix function name in csky_alignment() and die()
authorNathan Chancellor <nathan@kernel.org>
Mon, 27 Dec 2021 18:48:51 +0000 (11:48 -0700)
committerEric W. Biederman <ebiederm@xmission.com>
Sat, 8 Jan 2022 15:43:03 +0000 (09:43 -0600)
commit6edcdbd247cc1d604af8feb72dc6eb4406f3e677
treeabfd2db1911bea9c2f6ac5aca9f680cbd6366ae5
parent3957214e14bb80ddfaebca843549f45bae66212b
csky: Fix function name in csky_alignment() and die()

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>
arch/csky/abiv1/alignment.c
arch/csky/kernel/traps.c