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

Josh Boyer jwboyer at gmail.com
Wed Mar 11 16:39:06 UTC 2009


On Wed, Mar 11, 2009 at 11:55:53AM -0400, Kyle McMartin wrote:
>On Wed, Mar 11, 2009 at 11:33:25AM -0400, Josh Boyer wrote:
>> >+#if __OS_HAS_AGP
>> 
>> Not that this is your fault, but shouldn't this be something
>> like __ARCH_HAS_AGP?
>> 
>
>Keep in mind the DRM for better or for worse supposedly supports more
>OSes than just Linux.

I had blissfully forgotten that.

>I suspect the 'ideal' fix for upstream is to stub out drm_agp_init_ttm
>on !CONFIG_AGP arches.

Yeah, something like that.

josh




More information about the Fedora-kernel-list mailing list