lkml.org 
[lkml]   [2003]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [Dri-devel] Re: Improved DRM support for cant_use_aperture platforms
>>>>> On 12 May 2003 21:48:31 +0200, Michel Dänzer <michel@daenzer.net> said:

>> using an old kernel that doesn't have asm/agp.h yet?).

Michel> That's it.

OK, thanks for clarifying.

Michel> So we have to check the version before #including
Michel> <asm/agp.h>. Then, we can do something like

Michel> #ifndef PAGE_AGP #define PAGE_AGP PAGE_KERNEL_NOCACHE #endif

Michel> Or am I missing something?

Basically correct, except that the patch also needs an improved
version of vmap(), which was introduced in 2.5.68 only (IIRC). I'll
update my patch so it is a no-op unless you have a kernel >= 2.5.68.

--david
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.562 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site