diff options
| author | Mark Brown <[email protected]> | 2024-10-21 22:11:40 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2024-10-21 22:49:33 +0000 |
| commit | c2ee9f594da826bea183ed14f2cc029c719bf4da (patch) | |
| tree | 0168ba43f8a01b05b8ed786230c0176afdb059ee /drivers/fpga/zynq-fpga.c | |
| parent | 9p: fix slab cache name creation for real (diff) | |
| download | kernel-c2ee9f594da826bea183ed14f2cc029c719bf4da.tar.gz kernel-c2ee9f594da826bea183ed14f2cc029c719bf4da.zip | |
KVM: selftests: Fix build on on non-x86 architectures
Commit 9a400068a158 ("KVM: selftests: x86: Avoid using SSE/AVX
instructions") unconditionally added -march=x86-64-v2 to the CFLAGS used
to build the KVM selftests which does not work on non-x86 architectures:
cc1: error: unknown value ‘x86-64-v2’ for ‘-march’
Fix this by making the addition of this x86 specific command line flag
conditional on building for x86.
Fixes: 9a400068a158 ("KVM: selftests: x86: Avoid using SSE/AVX instructions")
Signed-off-by: Mark Brown <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/fpga/zynq-fpga.c')
0 files changed, 0 insertions, 0 deletions
