[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 6/9] update-linux-headers: Include const.h
From: |
Cornelia Huck |
Subject: |
[PULL 6/9] update-linux-headers: Include const.h |
Date: |
Thu, 21 Jan 2021 13:16:26 +0100 |
From: Eric Farman <farman@linux.ibm.com>
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>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210104202057.48048-2-farman@linux.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.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 9efbaf2f84b3..fa6f2b6272b7 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.26.2
- [PULL 0/9] s390x updates, Cornelia Huck, 2021/01/21
- [PULL 1/9] s390x/tcg: Fix ALGSI, Cornelia Huck, 2021/01/21
- [PULL 2/9] s390x/tcg: Fix RISBHG, Cornelia Huck, 2021/01/21
- [PULL 4/9] tests/tcg/s390x: Fix EXRL tests, Cornelia Huck, 2021/01/21
- [PULL 3/9] s390x/tcg: Don't ignore content in r0 when not specified via "b" or "x", Cornelia Huck, 2021/01/21
- [PULL 5/9] s390x/tcg: Ignore register content if b1/b2 is zero when handling EXECUTE, Cornelia Huck, 2021/01/21
- [PULL 6/9] update-linux-headers: Include const.h,
Cornelia Huck <=
- [PULL 7/9] Update linux headers to 5.11-rc2, Cornelia Huck, 2021/01/21
- [PULL 9/9] s390x: Use strpadcpy for copying vm name, Cornelia Huck, 2021/01/21
- [PULL 8/9] vfio-ccw: Connect the device request notifier, Cornelia Huck, 2021/01/21
- Re: [PULL 0/9] s390x updates, Peter Maydell, 2021/01/22