summaryrefslogtreecommitdiff
path: root/x11-drivers/ati-drivers/files/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/ati-drivers/files/kernel')
-rw-r--r--x11-drivers/ati-drivers/files/kernel/2.6.31-fglrx_find_task_by_vpid.patch19
-rw-r--r--x11-drivers/ati-drivers/files/kernel/2.6.32-9.11-fix_compilation.patch37
2 files changed, 0 insertions, 56 deletions
diff --git a/x11-drivers/ati-drivers/files/kernel/2.6.31-fglrx_find_task_by_vpid.patch b/x11-drivers/ati-drivers/files/kernel/2.6.31-fglrx_find_task_by_vpid.patch
deleted file mode 100644
index 1d4e030b..00000000
--- a/x11-drivers/ati-drivers/files/kernel/2.6.31-fglrx_find_task_by_vpid.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- common/lib/modules/fglrx/build_mod/firegl_public.c.orig 2009-09-10 20:14:10.302938534 +0200
-+++ common/lib/modules/fglrx/build_mod/firegl_public.c 2009-09-10 20:16:21.828943780 +0200
-@@ -183,6 +183,7 @@
- #include <linux/string.h>
- #include <linux/gfp.h>
- #include <linux/swap.h>
-+#include <linux/pid.h>
-
- #include "firegl_public.h"
- #include "kcl_osconfig.h"
-@@ -1315,7 +1316,7 @@
- #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26)
- p = find_task_by_pid( pid );
- #else
-- p = find_task_by_vpid( pid );
-+ p = pid_task( pid, PIDTYPE_PID );
- #endif
- if (p)
- {
diff --git a/x11-drivers/ati-drivers/files/kernel/2.6.32-9.11-fix_compilation.patch b/x11-drivers/ati-drivers/files/kernel/2.6.32-9.11-fix_compilation.patch
deleted file mode 100644
index 38519d76..00000000
--- a/x11-drivers/ati-drivers/files/kernel/2.6.32-9.11-fix_compilation.patch
+++ /dev/null
@@ -1,37 +0,0 @@
---- work/common/lib/modules/fglrx/build_mod/firegl_public.c
-+++ work.new/common/lib/modules/fglrx/build_mod/firegl_public.c
-@@ -1441,7 +1441,9 @@
- todo !!!
- #endif
-
--unsigned long ATI_API_CALL __ke__cmpxchg(volatile void *ptr, unsigned long old,
-+void __cmpxchg_wrong_size(void) {}
-+
-+unsigned long ATI_API_CALL __ke__cmpxchg(volatile unsigned long *ptr, unsigned long old,
- unsigned long new, int size)
- {
- #ifndef __HAVE_ARCH_CMPXCHG
---- work/common/lib/modules/fglrx/build_mod/firegl_public.h
-+++ work.new/common/lib/modules/fglrx/build_mod/firegl_public.h
-@@ -441,7 +441,8 @@
- extern void ATI_API_CALL KCL_SIGNAL_BlockAll(int (*notifier)(void *priv), void *pPriv, __ke_sigset_t *pSigMask);
- extern void ATI_API_CALL KCL_SIGNAL_UnblockAll(void);
-
--extern unsigned long ATI_API_CALL __ke__cmpxchg(volatile void *ptr, unsigned long old,
-+extern void __cmpxchg_wrong_size(void);
-+extern unsigned long ATI_API_CALL __ke__cmpxchg(volatile unsigned long *ptr, unsigned long old,
- unsigned long new, int size);
-
- #define __ke_cmpxchg(ptr,o,n) \
---- work/common/lib/modules/fglrx/build_mod/kcl_io.c
-+++ work.new/common/lib/modules/fglrx/build_mod/kcl_io.c
-@@ -37,8 +37,9 @@
- */
-
- #include <linux/version.h>
- #include <linux/autoconf.h>
- #include <linux/poll.h>
-+#include <linux/signal.h>
- #include <asm/io.h>
-
- #include "kcl_config.h"