From patchwork Mon Mar 16 18:27:13 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Milosz Tanski X-Patchwork-Id: 6023591 Return-Path: X-Original-To: patchwork-linux-fsdevel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 16E7C9F314 for ; Mon, 16 Mar 2015 18:28:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 479E620439 for ; Mon, 16 Mar 2015 18:27:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5F05A200E7 for ; Mon, 16 Mar 2015 18:27:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964923AbbCPS11 (ORCPT ); Mon, 16 Mar 2015 14:27:27 -0400 Received: from mail-ig0-f173.google.com ([209.85.213.173]:34067 "EHLO mail-ig0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933701AbbCPS1Z (ORCPT ); Mon, 16 Mar 2015 14:27:25 -0400 Received: by igbue6 with SMTP id ue6so37971314igb.1 for ; Mon, 16 Mar 2015 11:27:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=mQupyamiMMOoy6S3G1qd6AN2I4u6KsnRO6c7OTn0Ut0=; b=KJaY83B8zo5RrksjPs2PYUcLoVwUWVV6s/d9chpsXFELBzAX+chMfBkOiWCKdnUpgh BWAavJutLHcpBDX5QKnz/VFhy5XhLjlEXqWffeM5YVDCQdPrxlwDt6gsdq+3o710H+nB seVE9ku6ejhTMs9ZoT9qyM0UVpfPhTHZw5wLZG6QdbyuipyrCJVby81YCmNyq7fH5dwL PRs3d688k1kOHGJ5yzJiTL1lAGYAj13nI4IwHdSHioVVQrSZEd2itEfgj55CxoKob6vf BkdqLO4vrJl4CFobZPemZcHKKga3SYhtnqz4iZqDOddMiqiIobD3/n4MjZQiAc0SMEVa 4+7A== X-Gm-Message-State: ALoCoQlak5Z2uDPY2X4uNFBRTs+r/E5fXb6zFXtKRahzM310KUONirrzqQ5Zuimb99nsmrM9iZQJ X-Received: by 10.50.124.164 with SMTP id mj4mr6954021igb.38.1426530444275; Mon, 16 Mar 2015 11:27:24 -0700 (PDT) Received: from adfin.com ([65.244.82.98]) by mx.google.com with ESMTPSA id i20sm7210027igh.16.2015.03.16.11.27.22 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 16 Mar 2015 11:27:23 -0700 (PDT) From: Milosz Tanski To: linux-kernel@vger.kernel.org Cc: Christoph Hellwig , linux-fsdevel@vger.kernel.org, linux-aio@kvack.org, Mel Gorman , Volker Lendecke , Tejun Heo , Jeff Moyer , Theodore Ts'o , Al Viro , linux-api@vger.kernel.org, Michael Kerrisk , linux-arch@vger.kernel.org, Dave Chinner , Andrew Morton Subject: [PATCH v7 3/5] x86: wire up preadv2 and pwritev2 Date: Mon, 16 Mar 2015 14:27:13 -0400 Message-Id: <18a9557048c5f8b66d0cbcc54a31b95af5dfcfac.1426528417.git.milosz@adfin.com> X-Mailer: git-send-email 1.9.3 (Apple Git-50) In-Reply-To: References: In-Reply-To: References: Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Milosz Tanski Reviewed-by: Christoph Hellwig --- arch/x86/syscalls/syscall_32.tbl | 2 ++ arch/x86/syscalls/syscall_64.tbl | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/x86/syscalls/syscall_32.tbl b/arch/x86/syscalls/syscall_32.tbl index b3560ec..b37aa9c 100644 --- a/arch/x86/syscalls/syscall_32.tbl +++ b/arch/x86/syscalls/syscall_32.tbl @@ -365,3 +365,5 @@ 356 i386 memfd_create sys_memfd_create 357 i386 bpf sys_bpf 358 i386 execveat sys_execveat stub32_execveat +359 i386 preadv2 sys_preadv2 +360 i386 pwritev2 sys_pwritev2 diff --git a/arch/x86/syscalls/syscall_64.tbl b/arch/x86/syscalls/syscall_64.tbl index 8d656fb..3802ebf 100644 --- a/arch/x86/syscalls/syscall_64.tbl +++ b/arch/x86/syscalls/syscall_64.tbl @@ -329,6 +329,8 @@ 320 common kexec_file_load sys_kexec_file_load 321 common bpf sys_bpf 322 64 execveat stub_execveat +323 64 preadv2 sys_preadv2 +324 64 pwritev2 sys_pwritev2 # # x32-specific system call numbers start at 512 to avoid cache impact