projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f43c007
)
update-linux-headers.sh: support __bitwise
author
Michael S. Tsirkin
<mst@redhat.com>
Fri, 13 Jan 2017 16:18:35 +0000
(18:18 +0200)
committer
Michael S. Tsirkin
<mst@redhat.com>
Wed, 18 Jan 2017 20:59:54 +0000
(22:59 +0200)
In 4.10, Linux is switching from __bitwise__ to use __bitwise
exclusively. Update our script accordingly.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
scripts/update-linux-headers.sh
patch
|
blob
|
history
diff --git
a/scripts/update-linux-headers.sh
b/scripts/update-linux-headers.sh
index 08c4c4ae54f56610b416bb005e8d8e829473dfbd..72cf1fbf0ab1989491e0f845c0fdddd531da42e0 100755
(executable)
--- a/
scripts/update-linux-headers.sh
+++ b/
scripts/update-linux-headers.sh
@@
-51,7
+51,7
@@
cp_portable() {
-e 's/__be\([0-9][0-9]*\)/uint\1_t/g' \
-e 's/"\(input-event-codes\.h\)"/"standard-headers\/linux\/\1"/' \
-e 's/<linux\/\([^>]*\)>/"standard-headers\/linux\/\1"/' \
- -e 's/__bitwise
__
//' \
+ -e 's/__bitwise//' \
-e 's/__attribute__((packed))/QEMU_PACKED/' \
-e 's/__inline__/inline/' \
-e '/sys\/ioctl.h/d' \