Thread (3 messages) 3 messages, 2 authors, 2015-08-28

Re: [RFC PATCH 4/9] mips: allocate sys_membarrier system call number

From: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Date: 2015-08-28 14:06:28
Also in: linux-api, lkml

----- On Aug 28, 2015, at 3:40 AM, Ralf Baechle ralf@linux-mips.org wrote:
On Thu, Aug 27, 2015 at 01:56:50PM -0400, Mathieu Desnoyers wrote:
quoted
[ Untested on this architecture. To try it out: fetch linux-next/akpm,
  apply this patch, build/run a membarrier-enabled kernel, and do make
  kselftest. ]

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
CC: Andrew Morton <akpm@linux-foundation.org>
CC: linux-api@vger.kernel.org
CC: Ralf Baechle <redacted>
CC: linux-mips@linux-mips.org
---
 arch/mips/include/uapi/asm/unistd.h | 15 +++++++++------
 arch/mips/kernel/scall32-o32.S      |  1 +
 arch/mips/kernel/scall64-64.S       |  1 +
 arch/mips/kernel/scall64-n32.S      |  1 +
 arch/mips/kernel/scall64-o32.S      |  1 +
 5 files changed, 13 insertions(+), 6 deletions(-)
Looking good assuming there is no compat syscall required.
Indeed, sys_membarrier only takes two integer arguments, so no
compat syscall is required.

Thanks!

Mathieu

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help