From b5b4971aff177603c74dfd721a04cb5d7ae839d4 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 26 Jan 2021 16:53:51 +0100 Subject: executor: don't include kvm on arm KVM was removed for arm architecture. Latest Linux headers don't contain for arm. So don't even include them. --- executor/common_linux.h | 2 +- pkg/csource/generated.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/executor/common_linux.h b/executor/common_linux.h index a7e45bd26..d0638fb51 100644 --- a/executor/common_linux.h +++ b/executor/common_linux.h @@ -2892,7 +2892,7 @@ error_clear_loop: #if SYZ_EXECUTOR || __NR_syz_kvm_setup_cpu // KVM is not yet supported on RISC-V -#if !GOARCH_riscv64 +#if !GOARCH_riscv64 && !GOARCH_arm #include #include #include diff --git a/pkg/csource/generated.go b/pkg/csource/generated.go index e11d8d6c7..91c69e5d4 100644 --- a/pkg/csource/generated.go +++ b/pkg/csource/generated.go @@ -6243,7 +6243,7 @@ error_clear_loop: #endif #if SYZ_EXECUTOR || __NR_syz_kvm_setup_cpu -#if !GOARCH_riscv64 +#if !GOARCH_riscv64 && !GOARCH_arm #include #include #include -- cgit mrf-deployment