summary refs log tree commit diff stats
path: root/system/qemu-seccomp.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-07-24 13:47:57 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-09-13 20:11:13 +0200
commit990d2c185c5a17c937dbdf7f63bd2daa5882776a (patch)
tree6e9424a06891c969e80465c64f9e52c7d056d8f5 /system/qemu-seccomp.c
parent44e4075bf43aaf8c114f5644e8bf855bb3f854a4 (diff)
downloadfocaccia-qemu-990d2c185c5a17c937dbdf7f63bd2daa5882776a.tar.gz
focaccia-qemu-990d2c185c5a17c937dbdf7f63bd2daa5882776a.zip
seccomp: Remove check for CRIS host
As per the deprecation notice in commit c7bbef4023:

  The CRIS architecture was pulled from Linux in 4.17 and
  the compiler is no longer packaged in any distro [...].

It is now unlikely QEMU is build on CRIS host.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Edgar E. Iglesias <edgar.iglesias@amd.com>
Message-ID: <20240904143603.52934-16-philmd@linaro.org>
Diffstat (limited to 'system/qemu-seccomp.c')
-rw-r--r--system/qemu-seccomp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/qemu-seccomp.c b/system/qemu-seccomp.c
index 98ffce075c..71ac444802 100644
--- a/system/qemu-seccomp.c
+++ b/system/qemu-seccomp.c
@@ -47,10 +47,10 @@ const struct scmp_arg_cmp sched_setscheduler_arg[] = {
 };
 
 /*
- * See 'NOTES' in 'man 2 clone' - s390 & cross have 'flags' in
+ * See 'NOTES' in 'man 2 clone' - s390 has 'flags' in
  *  different position to other architectures
  */
-#if defined(HOST_S390X) || defined(HOST_S390) || defined(HOST_CRIS)
+#if defined(HOST_S390X) || defined(HOST_S390)
 #define CLONE_FLAGS_ARG 1
 #else
 #define CLONE_FLAGS_ARG 0