[Pkg-fglrx-devel] patch for 2.6.31

Patrick Matthäi pmatthaei at debian.org
Thu Aug 27 06:17:12 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

elipse schrieb:
> from:
> http://lists.mandriva.com/cooker/2009-07/msg00441.php

Hello,

thanks for the patch, we will take care of it if 2.6.31 enters Debian.

> 
> #!/bin/sh /usr/share/dpatch/dpatch-run
> ## 02-find_task_by_vpid.dpatch by Vitaly V. <comp_art at ymail.com>
> ##
> ## DP: Adds support for 2.6.31.
> 
> @DPATCH@
> 
> diff -Naur
> fglrx-driver-9-8.orig/common/lib/modules/fglrx/build_mod/firegl_public.c
> fglrx-driver-9-8/common/lib/modules/fglrx/build_mod/firegl_public.c
> ---
> fglrx-driver-9-8.orig/common/lib/modules/fglrx/build_mod/firegl_public.c
> 2009-0 8-13 01:49:03.000000000 +0300
> +++ fglrx-driver-9-8/common/lib/modules/fglrx/build_mod/firegl_public.c
> 2009-08-25 00:19:11.000000000 +0300
> @@ -177,6 +177,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"
> @@ -1309,7 +1310,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) 
> {
> 


- --
/*
Mit freundlichem Gruß / With kind regards,
 Patrick Matthäi
 GNU/Linux Debian Developer

E-Mail: pmatthaei at debian.org
        patrick at linux-dev.org

Comment:
Always if we think we are right,
we were maybe wrong.
*/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkqWJOgACgkQ2XA5inpabMe3TwCfTmZmucpE6dKsWl2zCjRZXmhB
7cYAn2k91hhfxl8pvDCLMgtQ6ypmErNE
=zdbi
-----END PGP SIGNATURE-----



More information about the Pkg-fglrx-devel mailing list