linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Will Deacon <will.deacon@arm.com>
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 <will.deacon@arm.com>
Subject: [PATCH v2 2/3] asm-generic: unistd.h: Wire up sys_rseq
Date: Mon,  9 Jul 2018 15:19:44 +0100	[thread overview]
Message-ID: <1531145985-3747-3-git-send-email-will.deacon@arm.com> (raw)
In-Reply-To: <1531145985-3747-1-git-send-email-will.deacon@arm.com>

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 <arnd@arndb.de>
Signed-off-by: Will Deacon <will.deacon@arm.com>
---
 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
-- 
2.1.4


  parent reply	other threads:[~2018-07-09 14:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-09 14:19 [PATCH v2 0/3] Support rseq on arm64 Will Deacon
2018-07-09 14:19 ` [PATCH v2 1/3] arm64: rseq: Implement backend rseq calls and select HAVE_RSEQ Will Deacon
2018-07-09 14:19 ` Will Deacon [this message]
2018-07-10 17:53   ` [PATCH v2 2/3] asm-generic: unistd.h: Wire up sys_rseq Will Deacon
2018-07-10 21:32     ` Arnd Bergmann
2018-07-09 14:19 ` [PATCH v2 3/3] rseq/selftests: Add support for arm64 Will Deacon
2018-07-09 16:06 ` [PATCH v2 0/3] Support rseq on arm64 Mathieu Desnoyers
2018-07-09 16:53   ` Will Deacon
2018-07-09 17:17     ` Mathieu Desnoyers
2018-07-10 14:49       ` Will Deacon
2018-07-10 14:51         ` Mathieu Desnoyers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1531145985-3747-3-git-send-email-will.deacon@arm.com \
    --to=will.deacon@arm.com \
    --cc=arnd@arndb.de \
    --cc=boqun.feng@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mathieu.desnoyers@efficios.com \
    --cc=paulmck@linux.vnet.ibm.com \
    --cc=peter.maydell@linaro.org \
    --cc=peterz@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).