Message ID | 20180702110415.10465-18-mark.rutland@arm.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp3854847ljj; Mon, 2 Jul 2018 04:05:18 -0700 (PDT) X-Google-Smtp-Source: ADUXVKK6Os8CpOuQGYao4a3+mZSCBFRk57tXi57RwZ2vzIAWZ4ZJjpsId6+DJg8dlGcF5KaOjCJY X-Received: by 2002:a65:4bcd:: with SMTP id p13-v6mr21495675pgr.114.1530529518525; Mon, 02 Jul 2018 04:05:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530529518; cv=none; d=google.com; s=arc-20160816; b=UgxGZQCBrT4NAZK4xOnd2Ps2sSRphbHklXm35fA1NxcfxQy7Pi42+ZnXKXRivnNurY 3MornyKfRIV36kcCC3PnVl0Fwk/exwTsPOduJgvWMUAzj73qdHj5u62JFg7pA3nFOnq5 vvsMX7vXuJcxYHeHI+gH07CtbM4ke+InJuMG/2IA0rUKkeiSswiAUiaSBuxSFb5aY71M z+m8e0aNC92f8fkNo6MaaIC70dKuqJcBFTPzNaWbWOHDzykwMlAb06GRgxHMSZWfFMHI mmOPEWy669xTnrZvxPv4fXfT0ITh7Cg9sgTiAkgztM5JhdipS/GPfwtIRNZI7KJ7L9gD 5VxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=qsWkevCwNE07DTdRejk7DTpOb3+GGNmbt0qAN0qcE+A=; b=lwc5Dgo0Xsrz8G5bB19JdEDqznit4mQtI4Oe2CiINuWwcBSrT6J5728uM9PhFoXKJC KVTwdlW0xa+Z72NJ0HlSHSF6aCYg59AC2VdKObl9Fn8zoZgiHiEUtI9f/YPzhIzvU+8b Wqkt1mtf8ljDI8vhTKmyAGI1rhbwXErbQIa8447JuV7DWCEz20tttotV050igP+21ugK G7D73QPj5FfOZxH8IEDXVO3N5/6hCH2Qdrl1u3hXMToE6Dx/TLkTrZRiunUmQcL3PnA2 u+Crl+Vbhi4PpgJjMHjOU8RgoEmquM4kwRIX0X3cPhmgJQkiQhRrqTE1V0a7gasqOhjD 23yw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t70-v6si14202698pgc.481.2018.07.02.04.05.18; Mon, 02 Jul 2018 04:05:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030496AbeGBLFP (ORCPT <rfc822; heyi.guo@linaro.org> + 31 others); Mon, 2 Jul 2018 07:05:15 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:57646 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030474AbeGBLFL (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 2 Jul 2018 07:05:11 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 45CAB1BB2; Mon, 2 Jul 2018 04:05:11 -0700 (PDT) Received: from lakrids.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 2C0693F5BA; Mon, 2 Jul 2018 04:05:09 -0700 (PDT) From: Mark Rutland <mark.rutland@arm.com> To: linux-arm-kernel@lists.infradead.org, will.deacon@arm.com Cc: linux-kernel@vger.kernel.org, catalin.marinas@arm.com, dave.martin@arm.com, hch@infradead.org, james.morse@arm.com, linux@dominikbrodowski.net, linux-fsdevel@vger.kernel.org, marc.zyngier@arm.com, mark.rutland@arm.com, viro@zeniv.linux.org.uk Subject: [PATCHv4 17/19] arm64: use SYSCALL_DEFINE6() for mmap Date: Mon, 2 Jul 2018 12:04:13 +0100 Message-Id: <20180702110415.10465-18-mark.rutland@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180702110415.10465-1-mark.rutland@arm.com> References: <20180702110415.10465-1-mark.rutland@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
arm64: invoke syscalls with pt_regs
|
expand
|
diff --git a/arch/arm64/kernel/sys.c b/arch/arm64/kernel/sys.c index a82c3f7a9a90..2ad1497a184e 100644 --- a/arch/arm64/kernel/sys.c +++ b/arch/arm64/kernel/sys.c @@ -27,9 +27,9 @@ #include <linux/syscalls.h> #include <asm/cpufeature.h> -asmlinkage long sys_mmap(unsigned long addr, unsigned long len, - unsigned long prot, unsigned long flags, - unsigned long fd, off_t off) +SYSCALL_DEFINE6(mmap, unsigned long, addr, unsigned long, len, + unsigned long, prot, unsigned long, flags, + unsigned long, fd, off_t, off) { if (offset_in_page(off) != 0) return -EINVAL;