core/catalyst/kolasa_4.1_remove-IRQF_DISABLED.patch

16 lines
689 B
Diff
Raw Normal View History

2015-06-07 19:59:35 +08:00
--- 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);