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

Signed-off-by: Yoshinori Sato <[email protected]>
---
 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 via email to