summarylogtreecommitdiffstats
path: root/kolasa_4.1_remove-IRQF_DISABLED-15.7-v2.patch
diff options
context:
space:
mode:
authorVi0L02015-08-07 11:32:42 +0200
committerVi0L02015-08-07 11:32:42 +0200
commit52556ab70c9a6830fc91886f8a39dcc3cddf55a8 (patch)
treed3b951489116ae711ef8973130f54efbc4ad3ed9 /kolasa_4.1_remove-IRQF_DISABLED-15.7-v2.patch
parente3db3e4eaa939348b282921466a846203d81ab11 (diff)
downloadaur-52556ab70c9a6830fc91886f8a39dcc3cddf55a8.tar.gz
updated to 14.502.1040
Diffstat (limited to 'kolasa_4.1_remove-IRQF_DISABLED-15.7-v2.patch')
-rw-r--r--kolasa_4.1_remove-IRQF_DISABLED-15.7-v2.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/kolasa_4.1_remove-IRQF_DISABLED-15.7-v2.patch b/kolasa_4.1_remove-IRQF_DISABLED-15.7-v2.patch
new file mode 100644
index 000000000000..fe7cd3bd9488
--- /dev/null
+++ b/kolasa_4.1_remove-IRQF_DISABLED-15.7-v2.patch
@@ -0,0 +1,15 @@
+--- 15.7/common/lib/modules/fglrx/build_mod/firegl_public.c 2015-07-04 16:31:23.000000000 +0200
++++ 15.7b/common/lib/modules/fglrx/build_mod/firegl_public.c 2015-07-11 11:30:12.617426303 +0200
+@@ -3498,7 +3498,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_SHARED)),
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0)
++ ((useMSI) ? (0x0) : (IRQF_SHARED)),
++#else
++ ((useMSI) ? (IRQF_DISABLED) : (IRQF_SHARED)),
++#endif
+ #endif
+ dev_name,
+ context);