lkml.org 
[lkml]   [2023]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RFC kvmtool 02/31] script: update_headers: Ignore missing architectures
Date
Ignore missing architectures for header updates, for use with
older kernels.

Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
---
util/update_headers.sh | 1 +
1 file changed, 1 insertion(+)

diff --git a/util/update_headers.sh b/util/update_headers.sh
index 789e2a42..bdfb798c 100755
--- a/util/update_headers.sh
+++ b/util/update_headers.sh
@@ -48,6 +48,7 @@ copy_optional_arch () {

for arch in arm64 mips powerpc riscv x86
do
+ [ -f $LINUX_ROOT/arch/${arch} ] || continue;
case "$arch" in
arm64) KVMTOOL_PATH=arm/aarch64
copy_optional_arch asm/sve_context.h ;;
--
2.34.1
\
 
 \ /
  Last update: 2023-03-26 23:58    [W:0.642 / U:0.940 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site