[PATCH] checksyscalls.sh: Add ignore rseq.
From: Yoshinori Sato
Date: Sun Jul 22 2018 - 09:29:19 EST
This syscall depend on HAVE_RSEQ.
So, if HAVE_RSEQ is not defined, it should be ignored.
Signed-off-by: Yoshinori Sato <ysato@xxxxxxxxxxxxxxxxxxxx>
---
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