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