* Resolving missing external symbols at module load time.
@ 2004-10-22 20:47 Jon Smirl
2004-10-23 3:36 ` Jon Smirl
0 siblings, 1 reply; 2+ messages in thread
From: Jon Smirl @ 2004-10-22 20:47 UTC (permalink / raw)
To: lkml
I'm looking at how to get rid of the inter_module_get calls in DRM to
AGP. What is the proper procedure to reference an external symbol that
may be any of the following:
1) compiled in
2) module that is loaded
3) non-existent since the system doesn't have the hardware
With inter_module_get() #1 and #2 would succeed and return a pointer
to the module. #3 would fail. The DRM code then handled each of these
cases. I've been looking at the new module calls and and I can't see
how to make this work.
The symbol resolution also needs to work if DRM is compiled in and the
system has no AGP support.
--
Jon Smirl
jonsmirl@gmail.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Resolving missing external symbols at module load time.
2004-10-22 20:47 Resolving missing external symbols at module load time Jon Smirl
@ 2004-10-23 3:36 ` Jon Smirl
0 siblings, 0 replies; 2+ messages in thread
From: Jon Smirl @ 2004-10-23 3:36 UTC (permalink / raw)
To: lkml
On Fri, 22 Oct 2004 16:47:44 -0400, Jon Smirl <jonsmirl@gmail.com> wrote:
> I'm looking at how to get rid of the inter_module_get calls in DRM to
> AGP. What is the proper procedure to reference an external symbol that
> may be any of the following:
>
> 1) compiled in
> 2) module that is loaded
> 3) non-existent since the system doesn't have the hardware
>
> With inter_module_get() #1 and #2 would succeed and return a pointer
> to the module. #3 would fail. The DRM code then handled each of these
> cases. I've been looking at the new module calls and and I can't see
> how to make this work.
>
> The symbol resolution also needs to work if DRM is compiled in and the
> system has no AGP support.
I've found some old posts in the lkml archives and now I see this is
what symbol_get()/symbol_put() are for.
--
Jon Smirl
jonsmirl@gmail.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-10-23 3:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-22 20:47 Resolving missing external symbols at module load time Jon Smirl
2004-10-23 3:36 ` Jon Smirl
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.