public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Victor <victor@kuzlit.ru>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] fglrx-8.16.20, kernel 2.6.13-mm3
Date: Fri, 23 Sep 2005 18:32:46 +0400	[thread overview]
Message-ID: <4334120E.7090002@kuzlit.ru> (raw)

[-- Attachment #1: Type: text/plain, Size: 201 bytes --]

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 :-)

[-- Attachment #2: fglrx-8.16.20-kernel-2.6.13-mm3.patch --]
[-- Type: text/plain, Size: 601 bytes --]

--- firegl_public.c.orig	2005-08-16 20:13:33.000000000 +0400
+++ firegl_public.c	2005-09-23 17:25:49.000000000 +0400
@@ -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)

                 reply	other threads:[~2005-09-22 14:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4334120E.7090002@kuzlit.ru \
    --to=victor@kuzlit.ru \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox