scripts/update-linux-headers: Add typelimits.h
Upstream Linux added include/uapi/linux/typelimits.h and includes it from ethtool.h [1][2]. Teach update-linux-headers.sh to install that header into standard-headers to be able to update kernel headers to versions that include the above changes. [1] ca9d74eb5f6a ("uapi: add INT_MAX and INT_MIN constants") [2] a8a11e5237ae ("ethtool: uapi: Use UAPI definition of INT_MAX") Signed-off-by: Avihai Horon <avihaih@nvidia.com> Reviewed-by: Song Gao <gaosong@loongson.cn> Reviewed-by: Cédric Le Goater <clg@redhat.com> Link: https://lore.kernel.org/qemu-devel/20260505081423.28326-2-avihaih@nvidia.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
Avihai Horon committed
May 5, 2026 at 11:14 UTC
b9638e2faa58dea98b0797cbb6c1c2ae04902028
1 file changed
+2
scripts/update-linux-headers.sh
+2
@@ -60,6 +60,7 @@ cp_portable() {
60
-e 'drm.h' \
61
-e 'limits' \
62
-e 'linux/const' \
63
+ -e 'linux/typelimits' \
64
-e 'linux/kernel' \
65
-e 'linux/sysinfo' \
66
-e 'asm/setup_data.h' \
@@ -251,6 +252,7 @@ for i in "$hdrdir"/include/linux/*virtio*.h \
252
"$hdrdir/include/linux/pci_regs.h" \
253
"$hdrdir/include/linux/ethtool.h" \
254
"$hdrdir/include/linux/const.h" \
255
+ "$hdrdir/include/linux/typelimits.h" \
256
"$hdrdir/include/linux/kernel.h" \
257
"$hdrdir/include/linux/kvm_para.h" \
258
"$hdrdir/include/linux/vhost_types.h" \