summarylogtreecommitdiffstats
path: root/ubuntu_buildfix_kernel_4.1.patch
diff options
context:
space:
mode:
authorVi0L02015-12-13 22:07:16 +0100
committerVi0L02015-12-13 22:07:16 +0100
commit2b8bbee1a102ff47f11b3c8dac68fb6ecb53a846 (patch)
tree28039313f87ea4dc2c01f62edec0993822a190bc /ubuntu_buildfix_kernel_4.1.patch
parent6ba2cb92eac8ae292a785c970f13f5b8ebe882e1 (diff)
downloadaur-2b8bbee1a102ff47f11b3c8dac68fb6ecb53a846.tar.gz
adding support for up to 4.3 linux kernel + adding custom ACPI files for events handling
Diffstat (limited to 'ubuntu_buildfix_kernel_4.1.patch')
-rw-r--r--ubuntu_buildfix_kernel_4.1.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/ubuntu_buildfix_kernel_4.1.patch b/ubuntu_buildfix_kernel_4.1.patch
new file mode 100644
index 000000000000..605420d7f5a1
--- /dev/null
+++ b/ubuntu_buildfix_kernel_4.1.patch
@@ -0,0 +1,16 @@
+--- 15.10/common/lib/modules/fglrx/build_mod/firegl_public.c 2013-01-15 22:33:27.000000000 +0100
++++ 15.10b/common/lib/modules/fglrx/build_mod/firegl_public.c 2015-10-31 20:56:09.934455950 +0100
+@@ -2904,10 +2904,12 @@
+ KCL_PUB_InterruptHandlerWrap,
+ #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22)
+ ((useMSI) ? (SA_INTERRUPT) : (SA_SHIRQ)),
+-#else
++#elif LINUX_VERSION_CODE < KERNEL_VERSION(4,1,0)
+ //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)),
++#else
++ ((useMSI) ? (0x0) : (IRQF_SHARED)),
+ #endif
+ dev_name,
+ context);