linux/arch/csky/abiv1
Guo Ren f4625ee0e4 csky: Use in_syscall & forget_syscall instead of r11_sig
We could use regs->sr 16-24 bits to detect syscall: VEC_TRAP0 and
r11_sig is no necessary for current implementation.

In this patch, we implement the in_syscall and forget_syscall which are
inspired from arm & nds32, but csky pt_regs has no syscall_num element
and we just set zero to regs->sr's vector-bits-field instead.

For ret_from_fork, current task was forked from parent which is in syscall
progress and its regs->sr has been already setted with VEC_TRAP0. See:
arch/csky/kernel/process.c: copy_thread()

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
2019-04-22 13:44:57 +08:00
..
inc/abi csky: Use in_syscall & forget_syscall instead of r11_sig 2019-04-22 13:44:57 +08:00
alignment.c Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
bswapdi.c csky: Library functions 2018-10-26 00:54:24 +08:00
bswapsi.c csky: Library functions 2018-10-26 00:54:24 +08:00
cacheflush.c csky: Cache and TLB routines 2018-10-25 23:36:19 +08:00
Makefile
memcpy.S csky: Library functions 2018-10-26 00:54:24 +08:00
memset.c csky: Library functions 2018-10-26 00:54:24 +08:00
mmap.c csky: MMU and page table management 2018-10-25 23:36:19 +08:00
strksyms.c csky: Library functions 2018-10-26 00:54:24 +08:00