diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2021-01-26 16:53:51 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2021-01-26 17:15:54 +0100 |
| commit | b5b4971aff177603c74dfd721a04cb5d7ae839d4 (patch) | |
| tree | d6d99ebdec9e591ed6158a5f3268d23f461af69d /executor | |
| parent | 52e3731913ab2677be27c29ed8142b04e8f28521 (diff) | |
executor: don't include kvm on arm
KVM was removed for arm architecture.
Latest Linux headers don't contain <asm/kvm.h> for arm.
So don't even include them.
Diffstat (limited to 'executor')
| -rw-r--r-- | executor/common_linux.h | 2 |
1 files changed, 1 insertions, 1 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 <errno.h> #include <fcntl.h> #include <linux/kvm.h> |
