diff mbox series

[kvmtool] update_headers.sh: Remove arm architecture

Message ID 20200810153828.216821-1-alexandru.elisei@arm.com (mailing list archive)
State New, archived
Headers show
Series [kvmtool] update_headers.sh: Remove arm architecture | expand

Commit Message

Alexandru Elisei Aug. 10, 2020, 3:38 p.m. UTC
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>
---
 util/update_headers.sh | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Will Deacon Aug. 21, 2020, 12:28 p.m. UTC | #1
On Mon, 10 Aug 2020 16:38:28 +0100, Alexandru Elisei wrote:
> 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
> 
> [...]

Applied to kvmtool (master), thanks!

[1/1] update_headers.sh: Remove arm architecture
      https://git.kernel.org/will/kvmtool/c/90b2d3adadf2

Cheers,
diff mbox series

Patch

diff --git a/util/update_headers.sh b/util/update_headers.sh
index bf87ef601019..049dfe4ef9d0 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 ;;