* moved find_task_by_vpid to pid_task to fix,
- add file find_task_by_vpid.patch to /usr/src/fglrx-8.620/patches/
- add following lines to /usr/src/fglrx-8.620/dkms.conf
PATCH[6]="find_task_by_vpid.patch"
PATCH_MATCH[6]="2.6.3[1]"
- rebuild dkms module
* moved find_task_by_vpid to pid_task to fix, by_vpid. patch to /usr/src/ fglrx-8. 620/patches/ fglrx-8. 620/dkms. conf ="find_ task_by_ vpid.patch" 6]="2.6. 3[1]"
- add file find_task_
- add following lines to /usr/src/
PATCH[6]
PATCH_MATCH[
- rebuild dkms module
****** find_task_ by_vpid. patch ******
diff -ruN fglrx-8. 620.orig/ firegl_ public. c fglrx-8. 620/firegl_ public. c 620.orig/ firegl_ public. c 2009-07-30 02:29:19.000000000 +0100 620/firegl_ public. c 2009-07-30 02:47:43.000000000 +0100 VERSION( 2,6,26) VERSION( 2,6,30)
--- fglrx-8.
+++ fglrx-8.
@@ -1292,7 +1292,10 @@
#if LINUX_VERSION_CODE < KERNEL_
p = find_task_by_pid( pid );
#else
+#if LINUX_VERSION_CODE < KERNEL_
p = find_task_by_vpid( pid );
+else p = pid_task( pid, PIDTYPE_PID );
+#endif
#endif
if (p)
{