You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/x11-drivers/ati-drivers/files/use-kernel_fpu_begin.patch

13 lines
521 B

diff -Naur a/common/lib/modules/fglrx/build_mod/firegl_public.c b/common/lib/modules/fglrx/build_mod/firegl_public.c
--- a/common/lib/modules/fglrx/build_mod/firegl_public.c 2014-10-27 23:30:58.630304842 +0200
+++ b/common/lib/modules/fglrx/build_mod/firegl_public.c 2014-10-27 23:32:57.300306011 +0200
@@ -6389,7 +6389,7 @@
*/
void ATI_API_CALL KCL_fpu_begin(void)
{
-#ifdef CONFIG_X86_64
+#if defined(CONFIG_X86_64) || LINUX_VERSION_CODE >= KERNEL_VERSION(3,17,0)
kernel_fpu_begin();
#else
#ifdef TS_USEDFPU