summarylogtreecommitdiffstats
path: root/kernel510up.patch
diff options
context:
space:
mode:
authorJán Kosterec2021-03-02 19:58:50 +0100
committerJán Kosterec2021-03-02 19:58:50 +0100
commitca622338d4f81fa671482cd651fff8bd1727dc1b (patch)
tree96f9bbf09137bc215eef516c8bda769c1411e420 /kernel510up.patch
parent6c88085d2b7d615be11a476e40ad7faa0aa245c3 (diff)
downloadaur-ca622338d4f81fa671482cd651fff8bd1727dc1b.tar.gz
Update to 7.1.0 and patch for 5.10,5.11
Diffstat (limited to 'kernel510up.patch')
-rw-r--r--kernel510up.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/kernel510up.patch b/kernel510up.patch
new file mode 100644
index 000000000000..7b672a3aa14e
--- /dev/null
+++ b/kernel510up.patch
@@ -0,0 +1,12 @@
+--- a/module/rapiddisk-cache.c 2021-03-02 19:30:16.144916580 +0100
++++ b/module/rapiddisk-cache.c 2021-03-02 19:29:27.466795080 +0100
+@@ -46,7 +46,9 @@
+ #include <linux/version.h>
+ #include <linux/seq_file.h>
+ #include <linux/hardirq.h>
++#if LINUX_VERSION_CODE <= KERNEL_VERSION(5,9,0)
+ #include <asm/kmap_types.h>
++#endif
+ #include <linux/dm-io.h>
+ #include <linux/device-mapper.h>
+ #include <linux/bio.h>