]> 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)
commitc3a7213e09dc72321ce382f44ecef2d8e01e428a
tree6c2d5c56a8d2213c5883e0ad4083a9e0d3582d5f
parenta1cbc7c3e7d06927d13fecedc37c1ff3f29c45cf
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]