diff options
author | Vi0L0 | 2015-12-13 22:07:16 +0100 |
---|---|---|
committer | Vi0L0 | 2015-12-13 22:07:16 +0100 |
commit | 2b8bbee1a102ff47f11b3c8dac68fb6ecb53a846 (patch) | |
tree | 28039313f87ea4dc2c01f62edec0993822a190bc /4.2-fglrx-has_fpu.patch | |
parent | 6ba2cb92eac8ae292a785c970f13f5b8ebe882e1 (diff) | |
download | aur-2b8bbee1a102ff47f11b3c8dac68fb6ecb53a846.tar.gz |
adding support for up to 4.3 linux kernel + adding custom ACPI files for events handling
Diffstat (limited to '4.2-fglrx-has_fpu.patch')
-rw-r--r-- | 4.2-fglrx-has_fpu.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/4.2-fglrx-has_fpu.patch b/4.2-fglrx-has_fpu.patch new file mode 100644 index 000000000000..4247a1dfe90e --- /dev/null +++ b/4.2-fglrx-has_fpu.patch @@ -0,0 +1,20 @@ +--- 15.11/common/lib/modules/fglrx/build_mod/firegl_public.c 2015-11-08 17:46:13.157284759 +0100 ++++ 15.11b/common/lib/modules/fglrx/build_mod/firegl_public.c 2015-11-08 18:03:26.426797430 +0100 +@@ -6152,6 +6152,7 @@ + */ + struct task_struct *cur_task = current; + preempt_disable(); ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4,2,0) + #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,3,0) + /* The thread structure is changed with the commit below for kernel 3.3: + * https://github.com/torvalds/linux/commit/7e16838d94b566a17b65231073d179bc04d590c8 +@@ -6160,6 +6161,9 @@ + #else + if (cur_task->thread.has_fpu) + #endif ++#else ++ if (cur_task->thread.fpu.fpregs_active) ++#endif + __save_init_fpu(cur_task); + else + clts(); |