From patchwork Mon Jul 9 14:19:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 10514725 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 226596032A for ; Mon, 9 Jul 2018 14:19:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 12D4C28B76 for ; Mon, 9 Jul 2018 14:19:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 06D8628B7D; Mon, 9 Jul 2018 14:19:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AE10528B77 for ; Mon, 9 Jul 2018 14:19:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=57zCTuTSdMEcR8DhpkkRl/UynPWu8SlGmXABEfJtlSo=; b=LSagzn/3sNwJNE0JNgswwXlRTM Lo8bgv12vOmp39/aJMYZC8/g8pS6BEtfyz+HV1SfJXF8BK9J2sl+dqLWaIkUbmpbvkwlZRJZbbWZI ZW3iccSYKGtqAAQOHrT/R9QmSw17t9v/f8c9hJj8jgRQXC67O/23+2TSu/P32u0VGsTJu2YkFt8No NTbbm0t6+5V+m5ElgslD8xktxcsHRm6vMS9PCULqj/Ne3TbYf7vtJUud6373GJKtET2taZ5Bi0pkP AeiSWgTVCa9wzYMscqgfed8mYtPHnTbu3qQfLrLFNucuVY5aKnrMYliXHSsiBi3Z2AUorpJ/yFT3D 5zvdTklQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fcX0j-0005IB-B6; Mon, 09 Jul 2018 14:19:29 +0000 Received: from foss.arm.com ([217.140.101.70]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fcX0W-0004tZ-K8 for linux-arm-kernel@lists.infradead.org; Mon, 09 Jul 2018 14:19:19 +0000 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 DBEDB1684; Mon, 9 Jul 2018 07:19:04 -0700 (PDT) Received: from edgewater-inn.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 AD42F3F73D; Mon, 9 Jul 2018 07:19:04 -0700 (PDT) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id 21C3B1AE369F; Mon, 9 Jul 2018 15:19:46 +0100 (BST) From: Will Deacon To: linux-arm-kernel@lists.infradead.org, mathieu.desnoyers@efficios.com Subject: [PATCH v2 2/3] asm-generic: unistd.h: Wire up sys_rseq Date: Mon, 9 Jul 2018 15:19:44 +0100 Message-Id: <1531145985-3747-3-git-send-email-will.deacon@arm.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1531145985-3747-1-git-send-email-will.deacon@arm.com> References: <1531145985-3747-1-git-send-email-will.deacon@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180709_071916_686999_781E8912 X-CRM114-Status: GOOD ( 10.79 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, arnd@arndb.de, peterz@infradead.org, boqun.feng@gmail.com, Will Deacon , linux-kernel@vger.kernel.org, paulmck@linux.vnet.ibm.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The new rseq call arrived in 4.18-rc1, so provide it in the asm-generic unistd.h for architectures such as arm64. Cc: Arnd Bergmann Signed-off-by: Will Deacon Acked-by: Arnd Bergmann --- include/uapi/asm-generic/unistd.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/uapi/asm-generic/unistd.h b/include/uapi/asm-generic/unistd.h index 42990676a55e..df4bedb9b01c 100644 --- a/include/uapi/asm-generic/unistd.h +++ b/include/uapi/asm-generic/unistd.h @@ -734,9 +734,11 @@ __SYSCALL(__NR_pkey_free, sys_pkey_free) __SYSCALL(__NR_statx, sys_statx) #define __NR_io_pgetevents 292 __SC_COMP(__NR_io_pgetevents, sys_io_pgetevents, compat_sys_io_pgetevents) +#define __NR_rseq 293 +__SYSCALL(__NR_rseq, sys_rseq) #undef __NR_syscalls -#define __NR_syscalls 293 +#define __NR_syscalls 294 /* * 32 bit systems traditionally used different