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-kolasa-fpu_save_init.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-kolasa-fpu_save_init.patch')
-rw-r--r-- | 4.2-kolasa-fpu_save_init.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/4.2-kolasa-fpu_save_init.patch b/4.2-kolasa-fpu_save_init.patch new file mode 100644 index 000000000000..de6475f16a68 --- /dev/null +++ b/4.2-kolasa-fpu_save_init.patch @@ -0,0 +1,26 @@ +---15.11/common/lib/modules/fglrx/build_mod/firegl_public.c 2015-11-08 18:03:26.426797430 +0100 ++++ 15.11b/common/lib/modules/fglrx/build_mod/firegl_public.c 2015-11-08 18:11:43.177831390 +0100 +@@ -6143,7 +6143,11 @@ + struct task_struct *cur_task = get_current(); + preempt_disable(); + if (cur_thread->status & TS_USEDFPU) ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,2,0) ++ copy_fpregs_to_fpstate(&cur_task->thread.fpu); ++#else + __save_init_fpu(cur_task); ++#endif + else + clts(); + #else +@@ -6164,7 +6168,11 @@ + #else + if (cur_task->thread.fpu.fpregs_active) + #endif ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,2,0) ++ copy_fpregs_to_fpstate(&cur_task->thread.fpu); ++#else + __save_init_fpu(cur_task); ++#endif + else + clts(); + #endif |