From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Desnoyers Subject: Re: [RFC PATCH 4/9] mips: allocate sys_membarrier system call number Date: Fri, 28 Aug 2015 14:06:12 +0000 (UTC) Message-ID: <815178017.30970.1440770772982.JavaMail.zimbra@efficios.com> References: <1440698215-8355-1-git-send-email-mathieu.desnoyers@efficios.com> <1440698215-8355-5-git-send-email-mathieu.desnoyers@efficios.com> <20150828074034.GA22604@linux-mips.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20150828074034.GA22604-6z/3iImG2C8G8FEW9MqTrA@public.gmane.org> Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Ralf Baechle Cc: Andrew Morton , linux-api , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-mips-6z/3iImG2C8G8FEW9MqTrA@public.gmane.org List-Id: linux-api@vger.kernel.org ----- On Aug 28, 2015, at 3:40 AM, Ralf Baechle ralf-6z/3iImG2C8G8FEW9MqTrA@public.gmane.org wrote: > On Thu, Aug 27, 2015 at 01:56:50PM -0400, Mathieu Desnoyers wrote: > >> [ 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 >> CC: Andrew Morton >> CC: linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org >> CC: Ralf Baechle >> CC: linux-mips-6z/3iImG2C8G8FEW9MqTrA@public.gmane.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