]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: asm: syscall: Add the syscall_rollback function
authorMarkos Chandras <markos.chandras@imgtec.com>
Wed, 22 Jan 2014 14:39:58 +0000 (14:39 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 26 Mar 2014 22:09:08 +0000 (23:09 +0100)
commita537575d9ec07561babcca49322da88b7a87e0c7
treec9a44b1cc481cea64e77aa5151317d5f35e1e3c8
parent7f9d08d1cb43dfec368e1a31dd6df8f128db7ea4
MIPS: asm: syscall: Add the syscall_rollback function

The syscall_rollback function is used by seccomp-bpf but it was never
added for MIPS. It doesn't need to do anything as none of the registers
are clobbered if the system call has been denied by the seccomp filter.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Reviewed-by: James Hogan <james.hogan@imgtec.com>
Reviewed-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/6403/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/syscall.h