]> git.baikalelectronics.ru Git - kernel.git/commit
LoongArch: Add signal handling support
authorHuacai Chen <chenhuacai@loongson.cn>
Tue, 31 May 2022 10:04:11 +0000 (18:04 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Fri, 3 Jun 2022 12:09:28 +0000 (20:09 +0800)
commitd095bf1570010736798f4842812e037cea2c0d20
tree6c2d5c56a8d2213c5883e0ad4083a9e0d3582d5f
parent2bda027921aa765ad543eaaeae42566268c15640
LoongArch: Add signal handling support

Add ucontext/sigcontext definition and signal handling support for
LoongArch.

Cc: Eric Biederman <ebiederm@xmission.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Reviewed-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/include/uapi/asm/sigcontext.h [new file with mode: 0644]
arch/loongarch/include/uapi/asm/signal.h [new file with mode: 0644]
arch/loongarch/include/uapi/asm/ucontext.h [new file with mode: 0644]
arch/loongarch/kernel/signal.c [new file with mode: 0644]