public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* getting rid of inter_module_xx
@ 2004-10-22 17:08 Jon Smirl
  2004-10-23  9:44 ` Christoph Hellwig
  0 siblings, 1 reply; 4+ messages in thread
From: Jon Smirl @ 2004-10-22 17:08 UTC (permalink / raw)
  To: lkml

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-11-28 22:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-22 17:08 getting rid of inter_module_xx Jon Smirl
2004-10-23  9:44 ` Christoph Hellwig
2004-10-24 16:27   ` Alan Cox
2004-11-28 22:06     ` Rusty Russell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox