[PATCH] Don't try to use agp symbols if we don't have AGP (*cough*sparc*cough*)

Tom "spot" Callaway tcallawa at redhat.com
Wed Mar 11 14:27:51 UTC 2009


The radeon_buffer.c addition that gets pulled into the DRM driver as
part of Kernel Mode Setting (even if you disable KMS for the Radeon
driver) was assuming that it was safe to use symbols from the AGP code,
but that isn't safe on platforms where __OS_HAS_AGP is 0. Such as
sparc64. :)

This patch gets the code building again. It probably should go into the
actual kms patch, but if you would prefer this go as a separate patch, I
can apply it. With this, we can get rawhide building for sparc64, so I'm
eager to see it applied in one way or another.

Signed-off-by: Tom "spot" Callaway <tcallawa at redhat.com>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: linux-2.6.29-kms-noagp.patch
URL: <http://listman.redhat.com/archives/fedora-kernel-list/attachments/20090311/2fb0301a/attachment.ksh>


More information about the Fedora-kernel-list mailing list