updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / catalyst-firepro / 2.6.39_bkl.patch
blob9f1b2604709cfd04635a085d7820379378221f5c
1 diff -uNr cat11.3/common/lib/modules/fglrx/build_mod/drmP.h build_mod2/drmP.h
2 --- cat11.3/common/lib/modules/fglrx/build_mod/drmP.h 2011-03-24 17:00:28.000000000 +0100
3 +++ cat11.3/common/lib/modules/fglrx/build_mod2/drmP.h 2011-03-30 04:23:15.000000000 +0200
4 @@ -57,7 +57,6 @@
5 #include <linux/pci.h>
6 #include <linux/version.h>
7 #include <linux/sched.h>
8 -#include <linux/smp_lock.h> /* For (un)lock_kernel */
9 #include <linux/mm.h>
10 #include <linux/pagemap.h>
11 #if defined(__alpha__) || defined(__powerpc__)
12 diff -uNr cat11.3/common/lib/modules/fglrx/build_mod/firegl_public.c build_mod2/firegl_public.c
13 --- cat11.3/common/lib/modules/fglrx/build_mod/firegl_public.c 2011-03-24 17:00:28.000000000 +0100
14 +++ cat11.3/common/lib/modules/fglrx/build_mod2/firegl_public.c 2011-03-30 04:32:59.773179890 +0200
15 @@ -114,7 +114,6 @@
16 #include <linux/pci.h>
17 #include <linux/wait.h>
18 #include <linux/miscdevice.h>
19 -#include <linux/smp_lock.h>
20 // newer SuSE kernels need this
21 #include <linux/highmem.h>
23 @@ -1042,9 +1041,6 @@
25 dev->pubdev.signature = FGL_DEVICE_SIGNATURE;
27 - for (i = 0; i < __KE_MAX_SPINLOCKS; i++)
28 - dev->spinlock[i] = SPIN_LOCK_UNLOCKED;
30 for (i=0; i < __KE_MAX_SEMAPHORES; i++)
31 sema_init(&dev->struct_sem[i], 1);