summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVi0L02015-06-21 11:06:57 +0200
committerVi0L02015-06-21 11:06:57 +0200
commit4dcda225a6dbc12565e14e9b3f50f4fa9694994f (patch)
treec947fb8f5c4e550fe293344bb8a986f9a5e53af3
parent1bc8490b9bf240a87e621252bc12dd0a2c8b35a9 (diff)
downloadaur-4dcda225a6dbc12565e14e9b3f50f4fa9694994f.tar.gz
15.3-2 initial kernel 4.1 support
-rw-r--r--kolasa_4.1_remove-IRQF_DISABLED.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/kolasa_4.1_remove-IRQF_DISABLED.patch b/kolasa_4.1_remove-IRQF_DISABLED.patch
new file mode 100644
index 000000000000..f0b1b62756e9
--- /dev/null
+++ b/kolasa_4.1_remove-IRQF_DISABLED.patch
@@ -0,0 +1,15 @@
+--- 15.3/common/lib/modules/fglrx/build_mod/firegl_public.c 2015-03-06 17:44:48.000000000 +0100
++++ 15.3/common/lib/modules/fglrx/build_mod/firegl_public.c 2015-06-04 12:12:04.997661763 +0200
+@@ -3496,7 +3496,11 @@
+ #else
+ //when MSI enabled. keep irq disabled when calling the action handler,
+ //exclude this IRQ from irq balancing (only on one CPU)
+- ((useMSI) ? (IRQF_DISABLED | IRQF_NOBALANCING) : (IRQF_SHARED)),
++#if LINUX_VERSION_CODE < KERNEL_VERSION(4,1,0)
++ ((useMSI) ? (IRQF_DISABLED | IRQF_NOBALANCING) : (IRQF_SHARED)),
++#else
++ ((useMSI) ? (IRQF_NOBALANCING) : (IRQF_SHARED)),
++#endif
+ #endif
+ dev_name,
+ context);