summarylogtreecommitdiffstats
path: root/kolasa_4.1_remove-IRQF_DISABLED-15.7-v2.patch
blob: fe7cd3bd9488b906107241e9aa17bba6f78a30bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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);