]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qemu-seccomp.c
nios2-softmmu.mak: express dependencies with Kconfig
[mirror_qemu.git] / qemu-seccomp.c
index 5c73e6ad058ef6a9777300beaa607a1bcdb38bd6..36d5829831760639a004e1a136d5d5e084ac4525 100644 (file)
@@ -41,7 +41,8 @@ struct QemuSeccompSyscall {
 };
 
 const struct scmp_arg_cmp sched_setscheduler_arg[] = {
-    SCMP_A1(SCMP_CMP_NE, SCHED_IDLE)
+    /* was SCMP_A1(SCMP_CMP_NE, SCHED_IDLE), but expanded due to GCC 4.x bug */
+    { .arg = 1, .op = SCMP_CMP_NE, .datum_a = SCHED_IDLE }
 };
 
 static const struct QemuSeccompSyscall blacklist[] = {