From 5be7cc2a9124cb8754e49eeb82e8d0848e9336c5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Fri, 12 Apr 2013 18:13:42 +0200 Subject: [PATCH] - finished update to 13.1 - rel 1 --- xorg-driver-video-fglrx-kernel-fpu.patch | 9 +++++---- xorg-driver-video-fglrx-legacy.spec | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/xorg-driver-video-fglrx-kernel-fpu.patch b/xorg-driver-video-fglrx-kernel-fpu.patch index 39132e7..ef05d37 100644 --- a/xorg-driver-video-fglrx-kernel-fpu.patch +++ b/xorg-driver-video-fglrx-kernel-fpu.patch @@ -1,6 +1,6 @@ --- common/lib/modules/fglrx/build_mod/firegl_public.c.orig 2012-01-21 21:44:22.000000000 +0100 +++ common/lib/modules/fglrx/build_mod/firegl_public.c 2012-01-21 22:21:45.126304477 +0100 -@@ -5791,35 +5791,7 @@ +@@ -5791,36 +5791,7 @@ */ void ATI_API_CALL KCL_fpu_begin(void) { @@ -8,10 +8,11 @@ kernel_fpu_begin(); -#else -#ifdef TS_USEDFPU -- struct thread_info *cur_task = current_thread_info(); +- struct thread_info *cur_thread = current_thread_info(); +- struct task_struct *cur_task = get_current(); - preempt_disable(); -- if (cur_task->status & TS_USEDFPU) -- __save_init_fpu(cur_task->task); +- if (cur_thread->status & TS_USEDFPU) +- __save_init_fpu(cur_task); - else - clts(); -#else diff --git a/xorg-driver-video-fglrx-legacy.spec b/xorg-driver-video-fglrx-legacy.spec index d743010..0c60eee 100644 --- a/xorg-driver-video-fglrx-legacy.spec +++ b/xorg-driver-video-fglrx-legacy.spec @@ -28,7 +28,7 @@ %define arch_dir x86_64 %endif -%define rel 0.1 +%define rel 1 %define pname xorg-driver-video-fglrx-legacy Summary: Linux Drivers for AMD graphics accelerators Summary(pl.UTF-8): Sterowniki do akceleratorów graficznych AMD @@ -193,7 +193,7 @@ Moduł jądra oferujący wsparcie dla AMD FireGL. #%setup -q -c -T %setup -q -c -sh amd-driver-installer-%{version}-legacy-x86.x86_64.run --extract . +sh amd-driver-installer-catalyst-%{version}-legacy-linux-x86.x86_64.run --extract . cp -p arch/%{arch_dir}/lib/modules/fglrx/build_mod/* common/lib/modules/fglrx/build_mod -- 2.44.0