summarylogtreecommitdiffstats
path: root/4.14.21_4.15.5-npfeiler-flush_tlb_one_kernel.patch
diff options
context:
space:
mode:
authorVi0L02018-04-08 21:51:15 +0200
committerVi0L02018-04-08 21:51:15 +0200
commit7e4a7b0f983d8119b2248587cf6c06267875ac58 (patch)
tree6a02f92e310ad3ee146382537eaba6e20385ffdf /4.14.21_4.15.5-npfeiler-flush_tlb_one_kernel.patch
parent233f5a9885bf67fa28e59ff8a6a979a92541bcfd (diff)
downloadaur-7e4a7b0f983d8119b2248587cf6c06267875ac58.tar.gz
15.9-19: 4.15 kernel support
Diffstat (limited to '4.14.21_4.15.5-npfeiler-flush_tlb_one_kernel.patch')
-rw-r--r--4.14.21_4.15.5-npfeiler-flush_tlb_one_kernel.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/4.14.21_4.15.5-npfeiler-flush_tlb_one_kernel.patch b/4.14.21_4.15.5-npfeiler-flush_tlb_one_kernel.patch
new file mode 100644
index 000000000000..1f9b7a4a777b
--- /dev/null
+++ b/4.14.21_4.15.5-npfeiler-flush_tlb_one_kernel.patch
@@ -0,0 +1,14 @@
+--- archive_files/common/lib/modules/fglrx/build_mod/firegl_public.c 2015-12-18 19:47:41.000000000 +0100
++++ archive_filesb/common/lib/modules/fglrx/build_mod/firegl_public.c 2018-02-25 17:33:11.469309861 +0100
+@@ -2949,7 +2949,11 @@
+ static void kcl_flush_tlb_one(void *va)
+ {
+ unsigned long *addr = (unsigned long *)va;
++# if (LINUX_VERSION_CODE < KERNEL_VERSION(4,14,21))
+ __flush_tlb_one(*addr);
++# else
++ __flush_tlb_one_kernel(*addr);
++# endif
+ }
+
+ /** /brief Flush one page on all cpus