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 *


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/debian-bugs-dist

Reply via email to