summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/uapi/asm
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@mips.com>2018-06-14 10:20:54 -0700
committerPaul Burton <paul.burton@mips.com>2018-06-19 21:13:56 -0700
commit9bcf53598dfe1bd8caaf8e03738d3cc51d45904e (patch)
treeee25419bb284148763c5a9cd2ae30424d006ca44 /arch/mips/include/uapi/asm
parent9ea141ad54716d48e79d0093052c12ed67debf09 (diff)
downloadtalos-obmc-linux-9bcf53598dfe1bd8caaf8e03738d3cc51d45904e.tar.gz
talos-obmc-linux-9bcf53598dfe1bd8caaf8e03738d3cc51d45904e.zip
MIPS: Add syscall detection for restartable sequences
Syscalls are not allowed inside restartable sequences, so add a call to rseq_syscall() at the very beginning of the system call exit path when CONFIG_DEBUG_RSEQ=y. This will help us to detect whether there is a syscall issued erroneously inside a restartable sequence. Signed-off-by: Paul Burton <paul.burton@mips.com> Reviewed-by: James Hogan <jhogan@kernel.org> Patchwork: https://patchwork.linux-mips.org/patch/19522/ Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Boqun Feng <boqun.feng@gmail.com> Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org
Diffstat (limited to 'arch/mips/include/uapi/asm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud