mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Yoshinori Sato <ysato@users.sourceforge.jp>
To: linux-kernel@vger.kernel.org, tglx@linutronix.de,
	gregkh@linuxfoundation.org, pombredanne@nexb.com,
	kstewart@linuxfoundation.org
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Subject: [PATCH] checksyscalls.sh: Add ignore rseq.
Date: Sun, 22 Jul 2018 22:28:53 +0900	[thread overview]
Message-ID: <20180722132853.21816-1-ysato@users.sourceforge.jp> (raw)

This syscall depend on HAVE_RSEQ.
So, if HAVE_RSEQ is not defined, it should be ignored.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
---
 scripts/checksyscalls.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/scripts/checksyscalls.sh b/scripts/checksyscalls.sh
index ee3dfb5be6cd..ff0a8c51e126 100755
--- a/scripts/checksyscalls.sh
+++ b/scripts/checksyscalls.sh
@@ -199,6 +199,10 @@ cat << EOF
 #define __IGNORE_getpmsg
 #define __IGNORE_putpmsg
 #define __IGNORE_vserver
+
+#ifndef CONFIG_HAVE_RSEQ
+#define __IGNORE_rseq
+#endif
 EOF
 }
 
-- 
2.11.0


                 reply	other threads:[~2018-07-22 13:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20180722132853.21816-1-ysato@users.sourceforge.jp \
    --to=ysato@users.sourceforge.jp \
    --cc=gregkh@linuxfoundation.org \
    --cc=kstewart@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pombredanne@nexb.com \
    --cc=tglx@linutronix.de \
    /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

Powered by JetHome