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: 141420 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2727916ljj; Mon, 9 Jul 2018 07:20:08 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdeP6XMrVXRj4ahHkob+2yepTENETE/dv5/3JhZdpygE6p9J1zDpVCVqACrADT1vwNmwXYa X-Received: by 2002:a17:902:784d:: with SMTP id e13-v6mr20432236pln.197.1531146008154; Mon, 09 Jul 2018 07:20:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531146008; cv=none; d=google.com; s=arc-20160816; b=TGkV+Hm+LHqhomqfp9kuZDdsszeg5cQtd+ZdTiQLXxCrT0vsydJ9Y8oZVIIeNsHoFd yAh9InDtRh0RBnbllTEzOG59T2Ej+38MXMQtkmA6zjzLUHWZbW9K5aHfDAhWrDvdLYoO y51YzExw00ZU3Zp5YdUG/z7BIHW+ixXC3691QzoBsubee5Gz9fSr13sEVXZFqdDPJIjS 5ZswoSaxyExGpVWl8ZzM9UvrTpzvuCf2UuDgXAXkI9jVzm5uCz5hHJ8eaFlUsPtRVtjY 1H2nz0ZI2/S76MEb1R1KJ54j3+n9NDxGWL5suMwdks5uCmdFjpG4ogDWe46JlJsFP93q +N3A== 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=+lqTmQV5qV3dxBkSW+9roMlPITFo8odfSUYoICPvw1A=; b=KT0TCS83yM3170gH7RE1eHzCHoRS/kukocja1cxnZj5rEr1P6GP/y5bvPpGiaDJ80y Co+4zh97b8ayl/xvlGdXtApQg8EiRLlE2nlTHEzZiXWaYRGeD8OtiTYExe94lOKBn66+ fUQOVNhX3FLbw2NPy1hyEQfpM08eTWlwVfnFg87eJ9bgRDuH1eII7EtNbbO9CAenpaBp 2r8q/oFpR79tZjjmKiYG096VbJJd75zkBTS8OpjolsGCNexaKwVnN7e4YzwhdbCLHwAz tS+AcGX6psJliAwxWbHuDOUT6Cy8pgYZiT5uOpbT7SYdK1aOSz5nKNL2qMAjYod2bVUT 8juA== 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: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v7-v6si14737935plp.304.2018.07.09.07.20.07; Mon, 09 Jul 2018 07:20:08 -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 S933258AbeGIOUG (ORCPT + 30 others); Mon, 9 Jul 2018 10:20:06 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:59798 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754516AbeGIOTF (ORCPT ); Mon, 9 Jul 2018 10:19:05 -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 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 Cc: arnd@arndb.de, peterz@infradead.org, paulmck@linux.vnet.ibm.com, boqun.feng@gmail.com, peter.maydell@linaro.org, linux-kernel@vger.kernel.org, Will Deacon 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- include/uapi/asm-generic/unistd.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.1.4 Acked-by: Arnd Bergmann 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