summarylogtreecommitdiffstats
path: root/kolasa_4.1_remove-IRQF_DISABLED.patch
diff options
context:
space:
mode:
authorVi0L02015-07-23 20:32:24 +0200
committerVi0L02015-07-23 20:32:24 +0200
commite3db3e4eaa939348b282921466a846203d81ab11 (patch)
treea29410cab441c6357d04821258f2edd337b4583d /kolasa_4.1_remove-IRQF_DISABLED.patch
parentf21a19f33a6159ee32a78f674490f08bcbb4d76a (diff)
downloadaur-e3db3e4eaa939348b282921466a846203d81ab11.tar.gz
adding 4.1 kernel support
Diffstat (limited to 'kolasa_4.1_remove-IRQF_DISABLED.patch')
-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 00000000000..f0b1b62756e
--- /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);