mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 15:04:37 +08:00
16 lines
689 B
Diff
16 lines
689 B
Diff
|
--- 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);
|