Skip to contentSkip to conversation

fglrx-8.16.20, kernel 2.6.13-mm3

PATCH New Victor 1 participant 1 message Sep 22, 2005

lore
Share & tools
lore

Victor

author
#0 lore raw

PATCH 1/1 fglrx-8.16.20, kernel 2.6.13-mm3

This patch will help you to compile fglrx driver on mm kernel :-) I test it on 2.6.13-mm3, maybe it will work on others :-)

glxinfo|grep direct
return
direct rendering: yes

Best regards, Victor :-)

firegl_public.c renamed from firegl_public.c.orig +2 -2
@@ -121,7 +121,7 @@
 #endif
 
 #ifdef __x86_64__
-#include "asm/ioctl32.h"
+#include "linux/ioctl32.h"
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,2)
 #include "linux/syscalls.h"
 #endif
@@ -1425,7 +1425,7 @@
 
 int ATI_API_CALL __ke_verify_area(int type, const void * addr, unsigned long size)
 {
-    return verify_area(type, addr, size);
+    return access_ok(type, addr, size);
 }
 
 int ATI_API_CALL __ke_get_pci_device_info(__ke_pci_dev_t* dev, __ke_pci_device_info_t *pinfo)