Message ID | 20180711135656.20670-20-mark.rutland@arm.com |
---|---|
State | Accepted |
Commit | d3516c9073b4b81410195489dc169891cd64e4cd |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp322039ljj; Wed, 11 Jul 2018 06:58:15 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeJjiDvsjCiIMdlp6IBthTlsp01UVkQHWN8kBRgGTub+My3GEY82cEAXojwsCDVahZVYZ4H X-Received: by 2002:a63:6e0a:: with SMTP id j10-v6mr20869328pgc.321.1531317495040; Wed, 11 Jul 2018 06:58:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531317495; cv=none; d=google.com; s=arc-20160816; b=zGwCSu5ienEbDZLSbQRz4Gn+4u94IPRHcG0tOoMrdtKJyxJAk6yA66oq1Aaw51tpLF Q227v5uSTMvkDaHcJ9YL14mjj7V4ubv44rb5PHsDP0ragq/xUXDgLnKAWEs3NNwNJvhW YY6FXo3iy/GDP9pEq/HfblKFOLCKZJGVm943U+UVqFWG1DEPShezuxNpfip1a6/9lBe/ +e7YoVLazjGf8OclOcc0822ZBUqKHoULO4FLMPm6XLZZMx+GxH1xXNtEXbPAtsfofTuI sZyzCiL2ACLwfv1OiKyxXrUck/CNrSmEXWmmQERngEIvm+uynd6v4J0f5xUO3E6pHDYa dwSQ== 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=zBnpfzzYX0x6s11u4AXHyhpfmMT/Om+ciyc376Y96Ss=; b=yvuYCDGvEIorzl8idXgrvG+PqCYx2xztyJLx2J0XYXQ3/t5PmjdEYRleGxLx/p4sqz NWxlvCSZgN1WNFjRQDb9FYLMMqp1ew1eLHQ0IVYXsIS5543mXQe/ATGhu5DjiAHSnI8h ycy15i+Ri2YDY6QCBlR6/HTFiS0L1dysgEbIf0E6uHdU8/2/edKl5Rb7cFli/mw00/Kv jgxqlEy9g8fLVszyiGNzALFwPvXw2fpD2s9H8A+ocHVtvvsYlwkfO4WMpKrExxZCONvQ fYdc7qHW/6ctzMfoYgJl6GAJ4ErLaV7k4Zdr7ch/3VevdEgpndv/43dyXHng5Zau7mto kwrw== 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 16-v6si20217726pfy.169.2018.07.11.06.58.14; Wed, 11 Jul 2018 06:58:15 -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 S2388625AbeGKOCk (ORCPT <rfc822;georgi.djakov@linaro.org> + 23 others); Wed, 11 Jul 2018 10:02:40 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:36480 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388274AbeGKOCj (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 11 Jul 2018 10:02:39 -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 5994028AC; Wed, 11 Jul 2018 06:58: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 3FE613F5B1; Wed, 11 Jul 2018 06:58:09 -0700 (PDT) From: Mark Rutland <mark.rutland@arm.com> To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, will.deacon@arm.com Cc: 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: [PATCHv5 19/21] arm64: use SYSCALL_DEFINE6() for mmap Date: Wed, 11 Jul 2018 14:56:54 +0100 Message-Id: <20180711135656.20670-20-mark.rutland@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180711135656.20670-1-mark.rutland@arm.com> References: <20180711135656.20670-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 f4e02f6aceb8..f249d9735f4c 100644 --- a/arch/arm64/kernel/sys.c +++ b/arch/arm64/kernel/sys.c @@ -29,9 +29,9 @@ #include <asm/cpufeature.h> #include <asm/syscall.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;