linux-stable/arch/csky
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
..
abiv1 csky: Use in_syscall & forget_syscall instead of r11_sig 2019-04-22 13:44:57 +08:00
abiv2 csky: Use in_syscall & forget_syscall instead of r11_sig 2019-04-22 13:44:57 +08:00
boot csky: use common dtb build rules 2018-11-01 10:52:27 +08:00
configs
include csky: Use in_syscall & forget_syscall instead of r11_sig 2019-04-22 13:44:57 +08:00
kernel csky: Use in_syscall & forget_syscall instead of r11_sig 2019-04-22 13:44:57 +08:00
lib Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
mm csky: mm/fault.c: Remove duplicate header 2019-04-22 13:44:57 +08:00
Kconfig csky: Update syscall_trace_enter/exit implementation 2019-04-22 13:44:57 +08:00
Kconfig.debug csky: remove builtin-dtb Kbuild 2018-11-01 10:52:26 +08:00
Makefile csky: Fixup vdsp&fpu issues in kernel 2019-04-22 13:44:57 +08:00