[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 1/3] update-linux-headers: Include const.h
From: |
Eric Farman |
Subject: |
[PATCH v3 1/3] update-linux-headers: Include const.h |
Date: |
Mon, 4 Jan 2021 21:20:55 +0100 |
Kernel commit a85cbe6159ff ("uapi: move constants from
<linux/kernel.h> to <linux/const.h>") breaks our script
because of the unrecognized include. Let's add that to
our processing.
Signed-off-by: Eric Farman <farman@linux.ibm.com>
---
scripts/update-linux-headers.sh | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh
index 9efbaf2f84..fa6f2b6272 100755
--- a/scripts/update-linux-headers.sh
+++ b/scripts/update-linux-headers.sh
@@ -41,6 +41,7 @@ cp_portable() {
-e 'pvrdma_verbs' \
-e 'drm.h' \
-e 'limits' \
+ -e 'linux/const' \
-e 'linux/kernel' \
-e 'linux/sysinfo' \
-e 'asm-generic/kvm_para' \
@@ -190,7 +191,9 @@ for i in "$tmpdir"/include/linux/*virtio*.h \
"$tmpdir/include/linux/input.h" \
"$tmpdir/include/linux/input-event-codes.h" \
"$tmpdir/include/linux/pci_regs.h" \
- "$tmpdir/include/linux/ethtool.h" "$tmpdir/include/linux/kernel.h" \
+ "$tmpdir/include/linux/ethtool.h" \
+ "$tmpdir/include/linux/const.h" \
+ "$tmpdir/include/linux/kernel.h" \
"$tmpdir/include/linux/vhost_types.h" \
"$tmpdir/include/linux/sysinfo.h"; do
cp_portable "$i" "$output/include/standard-headers/linux"
--
2.17.1
- [PATCH v3 3/3] vfio-ccw: Connect the device request notifier, (continued)
- [PATCH v3 3/3] vfio-ccw: Connect the device request notifier, Eric Farman, 2021/01/04
- [PATCH v3 2/3] Update linux headers to 5.11-rc2, Eric Farman, 2021/01/04
- Re: [PATCH v3 2/3] Update linux headers to 5.11-rc2, Cornelia Huck, 2021/01/11
- Re: [PATCH v3 2/3] Update linux headers to 5.11-rc2, Michael S. Tsirkin, 2021/01/11
- Re: [PATCH v3 2/3] Update linux headers to 5.11-rc2, Cornelia Huck, 2021/01/11
- Re: [PATCH v3 2/3] Update linux headers to 5.11-rc2, Michael S. Tsirkin, 2021/01/11
- Re: [PATCH v3 2/3] Update linux headers to 5.11-rc2, Eric Farman, 2021/01/11
- Re: [PATCH v3 2/3] Update linux headers to 5.11-rc2, Michael S. Tsirkin, 2021/01/11
- Re: [PATCH v3 2/3] Update linux headers to 5.11-rc2, Cornelia Huck, 2021/01/11
- Re: [PATCH v3 2/3] Update linux headers to 5.11-rc2, Cornelia Huck, 2021/01/13
[PATCH v3 1/3] update-linux-headers: Include const.h,
Eric Farman <=
Re: [PATCH v3 1/3] update-linux-headers: Include const.h, Philippe Mathieu-Daudé, 2021/01/07
Re: [PATCH v3 0/3] vfio-ccw: Implement request notifier, Cornelia Huck, 2021/01/13