diff options
Diffstat (limited to '02-fix-have_unlocked_ioctl.patch')
-rw-r--r-- | 02-fix-have_unlocked_ioctl.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/02-fix-have_unlocked_ioctl.patch b/02-fix-have_unlocked_ioctl.patch deleted file mode 100644 index 18ded8682087..000000000000 --- a/02-fix-have_unlocked_ioctl.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff --git a/blackmagic-12.0a14/blackmagic_core.c b/blackmagic-12.0a14/blackmagic_core.c -index 2acbdd6..8d4f332 100644 ---- a/blackmagic-12.0a14/blackmagic_core.c -+++ b/blackmagic-12.0a14/blackmagic_core.c -@@ -41,6 +41,12 @@ - - #include "blackmagic_core.h" - -+ -+/* HAVE_UNLOCKED_IOCTL has been removed in kernel 5.9 */ -+#if KERNEL_VERSION_OR_LATER(5, 9, 0) -+# define HAVE_UNLOCKED_IOCTL 1 -+#endif -+ - unsigned long blackmagic_flags = 0; - module_param(blackmagic_flags, ulong, S_IRUGO | S_IWUSR); - |