[Pkg-fglrx-devel] Bug#697439: Bug#697439: fglrx-driver: dkms fails to build with kernel 3.7

Patrick Matthäi pmatthaei at debian.org
Tue Jan 8 18:08:37 UTC 2013


Thanks, your patch is comitted.

Am 05.01.2013 12:51, schrieb Oxan van Leeuwen:
> Package: fglrx-driver
> Version: 1:12.11~beta11-1
> Severity: important
> Tags: patch
>
> The current fglrx kernel module doesn't build with the 3.7 kernel as available
> from experimental. This is caused by the removal of VM_RESERVED, which has been
> replaced with VM_DONTEXPAND | VM_DONTDUMP.
>
> The patch below fixes the compilation of the fglrx kernel module.
>
> Index: fglrx-driver-12.11~beta11/common/lib/modules/fglrx/build_mod/firegl_public.c
> ===================================================================
> --- fglrx-driver-12.11~beta11.orig/common/lib/modules/fglrx/build_mod/firegl_public.c   2012-12-03 03:03:45.000000000 +0100
> +++ fglrx-driver-12.11~beta11/common/lib/modules/fglrx/build_mod/firegl_public.c        2013-01-05 12:32:40.605448455 +0100
> @@ -203,6 +203,11 @@
>   #define VM_SHM 0
>   #endif
>
> +// VM_RESERVED is replaced with VM_DONTEXPAND | VM_DONTDUMP in Linux 3.7+
> +#ifndef VM_RESERVED
> +#define VM_RESERVED (VM_DONTEXPAND | VM_DONTDUMP)
> +#endif
> +
>   #ifdef FGL_LINUX253P1_VMA_API
>   // Linux 2.5.3-pre1 and compatibles
>   #define FGL_VMA_API_TYPE        struct vm_area_struct *
>
> _______________________________________________
> Pkg-fglrx-devel mailing list
> Pkg-fglrx-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-fglrx-devel
>


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

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



More information about the Pkg-fglrx-devel mailing list