Package: fglrx-driver
Version: 14.3.1-1
Severity: important
Tags: patch

Please consider the following patch that allowed me to build fglrx for
the kernel 2.6.38-1-amd64.

I have not experienced any video issue so far.

-Pascal
-- 
Homepage (http://organact.mine.nu)
Debian GNU/Linux (http://www.debian.org)
COMunité/LACIME: École de technologie supérieure (http://www.comunite.ca)
Integrated Microsystems Laboratory: McGill (http://www.iml.ece.mcgill.ca)
--- fglrx-driver-11-2/common/lib/modules/fglrx/build_mod/firegl_public.c.old	2011-03-18 14:51:25.000000000 -0400
+++ fglrx-driver-11-2/common/lib/modules/fglrx/build_mod/firegl_public.c	2011-03-18 14:52:33.000000000 -0400
@@ -1913,13 +1913,17 @@
 /** \brief Grab global kernel lock */
 void ATI_API_CALL KCL_GlobalKernelLock(void)
 {
+#ifdef CONFIG_KERNEL_LOCK
     lock_kernel();
+#endif
 }
 
 /** \brief Release global kernel lock */
 void ATI_API_CALL KCL_GlobalKernelUnlock(void)
 {
+#ifdef CONFIG_KERNEL_LOCK
     unlock_kernel();
+#endif
 }
 
 /*****************************************************************************/

Reply via email to