From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752724AbbH1OG2 (ORCPT ); Fri, 28 Aug 2015 10:06:28 -0400 Received: from mail.efficios.com ([78.47.125.74]:54238 "EHLO mail.efficios.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752509AbbH1OGY (ORCPT ); Fri, 28 Aug 2015 10:06:24 -0400 Date: Fri, 28 Aug 2015 14:06:12 +0000 (UTC) From: Mathieu Desnoyers To: Ralf Baechle Cc: Andrew Morton , linux-api , linux-kernel@vger.kernel.org, linux-mips@linux-mips.org Message-ID: <815178017.30970.1440770772982.JavaMail.zimbra@efficios.com> In-Reply-To: <20150828074034.GA22604@linux-mips.org> 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> Subject: Re: [RFC PATCH 4/9] mips: allocate sys_membarrier system call number MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [78.47.125.74] X-Mailer: Zimbra 8.6.0_GA_1178 (ZimbraWebClient - FF40 (Linux)/8.6.0_GA_1178) Thread-Topic: mips: allocate sys_membarrier system call number Thread-Index: BIZvjBuqQXs18scgct95Dl4bm+8eDw== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ----- 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: > >> [ 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@vger.kernel.org >> CC: Ralf Baechle >> 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