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

Kyle McMartin kyle at infradead.org
Wed Mar 11 15:55:53 UTC 2009


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 suspect the 'ideal' fix for upstream is to stub out drm_agp_init_ttm
on !CONFIG_AGP arches.

regards, Kyle




More information about the Fedora-kernel-list mailing list