Skip to content

Commit

Permalink
Changes for kernel 4.1.0, remove IRQF_DISABLED
Browse files Browse the repository at this point in the history
  • Loading branch information
kolasa committed Apr 27, 2015
1 parent 66a25e7 commit 03a8ba5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion firegl_public.c
Expand Up @@ -3500,7 +3500,12 @@ int ATI_API_CALL KCL_InstallInterruptHandler(
#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);
Expand Down

0 comments on commit 03a8ba5

Please sign in to comment.