]> git.baikalelectronics.ru Git - kernel.git/commit
LoongArch: Adjust arch_do_signal_or_restart() to adapt generic entry
authorHuacai Chen <chenhuacai@loongson.cn>
Wed, 31 Aug 2022 03:19:27 +0000 (11:19 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Sat, 3 Sep 2022 10:01:27 +0000 (18:01 +0800)
commite834306c73ad0d369a078b7b4b7900023f6dc91c
treeb013a54ee83896fea295d7b4ed32d097c1868eb7
parent3ee296a61f4bf089ee989a2d9edd0d5dd27e7938
LoongArch: Adjust arch_do_signal_or_restart() to adapt generic entry

Commit 26f307683e05d3c5cf ("task_work: Call tracehook_notify_signal from
get_signal on all architectures") adjust arch_do_signal_or_restart() for
all architectures. LoongArch hasn't been upstream yet at that time and
can be still built successfully without adjustment because this function
has a weak version with the correct prototype. It is obviously that we
should convert LoongArch to use new API, otherwise some signal handlings
will be lost.

Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/kernel/signal.c