From: Jon Smirl <jonsmirl@gmail.com>
To: lkml <linux-kernel@vger.kernel.org>
Subject: Re: Resolving missing external symbols at module load time.
Date: Fri, 22 Oct 2004 23:36:20 -0400 [thread overview]
Message-ID: <9e47339104102220361bf42988@mail.gmail.com> (raw)
In-Reply-To: <9e47339104102213472193a6df@mail.gmail.com>
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
prev parent reply other threads:[~2004-10-23 3:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-22 20:47 Jon Smirl
2004-10-23 3:36 ` Jon Smirl [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9e47339104102220361bf42988@mail.gmail.com \
--to=jonsmirl@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome