maint: update for linux 4.20

* maint/ioctls_sym.sh: Include linux/compiler_attributes.h in every
processed file.
Use asm/ioctls.h workaround for asm-generic/ioctls.h too.
This commit is contained in:
Gleb Fotengauer-Malinovskiy 2018-12-26 19:56:18 +03:00 committed by Dmitry V. Levin
parent 333079522a
commit 721476cb78

View File

@ -104,6 +104,7 @@ process_file()
# Common code for every processed file.
cat > "$tmpdir"/printents.c <<__EOF__
#include <linux/compiler_attributes.h>
#include <asm/termbits.h>
#include <asm/ioctl.h>
#include <linux/types.h>
@ -164,7 +165,7 @@ __EOF__
*asm/core_*.h)
return 0 # false positives
;;
*asm/ioctls.h)
*asm*/ioctls.h)
cat <<'__EOF__'
#include <asm/termios.h>
#include <linux/serial.h>