diff options
author | Alexandru Elisei <alexandru.elisei@arm.com> | 2020-08-10 16:38:28 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-08-21 13:18:13 +0100 |
commit | 90b2d3adadf218dfc6bdfdfcefe269843360223c (patch) | |
tree | 13188badf2e6ba3e8159be9131c7be81cb7e0964 | |
parent | d7d79bd514124c3fa26dacdb8ac9fe70008bbab8 (diff) | |
download | kvmtool-90b2d3adadf218dfc6bdfdfcefe269843360223c.tar.gz |
update_headers.sh: Remove arm architecture
KVM host support for the arm architecture was removed in commit
541ad0150ca4 ("arm: Remove 32bit KVM host support"). When trying to sync
KVM headers we get this error message:
$ util/update_headers.sh /path/to/linux
cp: cannot stat '/path/to/linux/arch/arm/include/uapi/asm/kvm.h': No such file or directory
Do not attempting to copy KVM headers for that architecture.
Signed-off-by: Alexandru Elisei <alexandru.elisei@arm.com>
Link: https://lore.kernel.org/r/20200810153828.216821-1-alexandru.elisei@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
-rwxr-xr-x | util/update_headers.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/util/update_headers.sh b/util/update_headers.sh index bf87ef60..049dfe4e 100755 --- a/util/update_headers.sh +++ b/util/update_headers.sh @@ -36,10 +36,9 @@ copy_optional_arch () { fi } -for arch in arm arm64 mips powerpc x86 +for arch in arm64 mips powerpc x86 do case "$arch" in - arm) KVMTOOL_PATH=arm/aarch32 ;; arm64) KVMTOOL_PATH=arm/aarch64 copy_optional_arch asm/sve_context.h ;; *) KVMTOOL_PATH=$arch ;; |