[PATCH 1/2] maint: update for linux v5.5

Gleb Fotengauer-Malinovskiy glebfm at altlinux.org
Mon Jan 27 13:11:16 UTC 2020


* maint/ioctls_sym.sh: Define UL and ULL macros for every
processed file.
Add workaround for linux/platform_data/cros_ec_chardev.h file.
---
 maint/ioctls_sym.sh | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/maint/ioctls_sym.sh b/maint/ioctls_sym.sh
index 2e712add0..d441972bf 100755
--- a/maint/ioctls_sym.sh
+++ b/maint/ioctls_sym.sh
@@ -143,6 +143,14 @@ typedef unsigned long long u64;
 
 #include "fixes.h"
 
+#ifndef UL
+# define UL(x) (_UL(x))
+#endif
+
+#ifndef ULL
+# define ULL(x) (_ULL(x))
+#endif
+
 #include <asm/bitsperlong.h>
 #ifndef BITS_PER_LONG
 # define BITS_PER_LONG __BITS_PER_LONG
@@ -244,6 +252,9 @@ __EOF__
 		*linux/omap3isp.h)
 			echo 'struct omap3isp_stat_data_time32 {uint32_t dummy32[4]; uint16_t dummy16[3]; };'
 			;;
+		*linux/platform_data/cros_ec_chardev.h)
+			echo 'struct cros_ec_command {uint32_t dummy32[5]; uint8_t dummy8[0]; };'
+			;;
 		*linux/sonet.h)
 			echo '#include <linux/atmioc.h>'
 			;;

-- 
glebfm


More information about the Strace-devel mailing list