lkml.org 
[lkml]   [2004]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectgetting rid of inter_module_xx
I'm looking at getting rid of DRM's use of inter_module_xx. DRM makes
use of this to locate and use the AGP module. AGP is an optional
module since some system only have PCI graphics.

Right now DRM uses inter_module_get("AGP") to locate the module if it
exists. It then changes behavior if this call secedes or fails.

If I remove inter_module_get("AGP") and use the symbols directly, such
as agp_backend_acquire(), how do I resolve the symbol link when AGP is
not loaded? If the symbols link as NULL DRM will see that and act
correctly.

--
Jon Smirl
jonsmirl@gmail.com
-
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 14:07    [W:0.067 / U:0.676 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site