[PATCH 2/3] maint: update for linux v6.9-rc4
Gleb Fotengauer-Malinovskiy
glebfm at altlinux.org
Mon Apr 15 17:58:08 UTC 2024
* maint/ioctls_sym.sh: Update a workaround for the
platform_data/cros_ec_chardev.h header.
---
maint/ioctls_sym.sh | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/maint/ioctls_sym.sh b/maint/ioctls_sym.sh
index 5bb12a7f8..b83e603c3 100755
--- a/maint/ioctls_sym.sh
+++ b/maint/ioctls_sym.sh
@@ -260,8 +260,12 @@ process_file()
echo 'struct omap3isp_stat_data_time32 {uint32_t dummy32[4]; uint16_t dummy16[3]; };'
;;
*linux/platform_data/cros_ec_chardev.h)
- echo '#define DECLARE_FLEX_ARRAY(TYPE, NAME) __DECLARE_FLEX_ARRAY(TYPE, NAME)'
- echo 'struct cros_ec_command {uint32_t dummy32[5]; uint8_t dummy8[0]; };'
+ cat <<-'__EOF__'
+ #include <linux/const.h>
+ #define BIT(nr) (UL(1) << (nr))
+ #define DECLARE_FLEX_ARRAY(TYPE, NAME) __DECLARE_FLEX_ARRAY(TYPE, NAME)
+ struct cros_ec_command {uint32_t dummy32[5]; uint8_t dummy8[0]; };
+ __EOF__
;;
*linux/sonet.h)
echo '#include <linux/atmioc.h>'
--
glebfm
More information about the Strace-devel
mailing list