aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2024-10-28 10:38:08 +0800
committerSong Gao <gaosong@loongson.cn>2024-11-02 15:20:41 +0800
commitd394a09cc1f25d6945f05182946a043b8d06c499 (patch)
treed29b975c4cb307e64a0aa5eb48b1e1174b263b79 /scripts
parente8f8303195bc8f11a078613c66844cac98501276 (diff)
linux-headers: loongarch: Add kvm_para.h
KVM LBT supports on LoongArch depends on the linux-header file kvm_para.h, add header file kvm_para.h here. Signed-off-by: Bibo Mao <maobibo@loongson.cn> Acked-by: Song Gao <gaosong@loongson.cn> Message-Id: <20241028023809.1554405-3-maobibo@loongson.cn> Signed-off-by: Song Gao <gaosong@loongson.cn>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/update-linux-headers.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh
index 203f48d089..99a8d9fa4c 100755
--- a/scripts/update-linux-headers.sh
+++ b/scripts/update-linux-headers.sh
@@ -190,6 +190,7 @@ EOF
cp "$hdrdir/include/asm/unistd_64.h" "$output/linux-headers/asm-riscv/"
fi
if [ $arch = loongarch ]; then
+ cp "$hdrdir/include/asm/kvm_para.h" "$output/linux-headers/asm-loongarch/"
cp "$hdrdir/include/asm/unistd_64.h" "$output/linux-headers/asm-loongarch/"
fi
done