[PATCH] maint: update for linux 4.8

Gleb Fotengauer-Malinovskiy glebfm at altlinux.org
Mon Sep 12 13:29:38 UTC 2016


* maint/ioctls_sym.sh: Add workarounds for linux/atm_zatm.h and
xen/evtchn.h files.
---
 maint/ioctls_sym.sh | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/maint/ioctls_sym.sh b/maint/ioctls_sym.sh
index 20b1730..7a67339 100755
--- a/maint/ioctls_sym.sh
+++ b/maint/ioctls_sym.sh
@@ -190,6 +190,17 @@ __EOF__
 #undef FBIOPUTCMAP
 __EOF__
 			;;
+		*linux/atm_zatm.h)
+			cat <<'__EOF__'
+#include <linux/atm.h>
+#ifndef _LINUX_TIME_H
+# define _LINUX_TIME_H
+#endif
+#ifndef _UAPI_LINUX_TIME_H
+# define _UAPI_LINUX_TIME_H
+#endif
+__EOF__
+			;;
 		*linux/atm?*.h)
 			echo '#include <linux/atm.h>'
 			;;
@@ -297,7 +308,7 @@ __EOF__
 		*video/sstfb.h)
 			echo 'struct fb_info;'
 			;;
-		*xen/gntdev.h)
+		*xen/evtchn.h|*xen/gntdev.h)
 			cat <<'__EOF__'
 typedef uint32_t grant_ref_t;
 typedef uint16_t domid_t;

-- 
glebfm




More information about the Strace-devel mailing list