From: Ralf Baechle <ralf@linux-mips.org>
To: Roman Mashak <mrv@corecom.co.kr>
Cc: linux-mips@linux-mips.org
Subject: Re: "undefined symbol" on 2.6.14
Date: Wed, 14 Jun 2006 12:53:16 +0100 [thread overview]
Message-ID: <20060614115316.GA4515@linux-mips.org> (raw)
In-Reply-To: <003401c68fa0$b60f4070$9d0ba8c0@mrv>
On Wed, Jun 14, 2006 at 07:53:01PM +0900, Roman Mashak wrote:
> I compiled driver as a module (for our own device) for MIPS target. At
> loading time get:
>
> unresolved symbol 'mips_hpt_frequency'
>
> Modules.symvers which contains symbols doesn't have reference for
> 'mips_hpt_frequency'. Doesn it mean it's supposed to be exported with
> EXPORT_SYMBOL or my problem's reason lies on another layer?
The symbol isn't export simply because it wasn't considered useful to
export it. The expected use of mips_hpt_frequency is to initialize it
in the platform code as system startup time to the counter frequency,
then not look at it again.
I wonder how you're using it in your module?
Any export I would add - as per general policy for the kernel - an
EXPORT_SYMBOL_GPL btw.
Ralf
next prev parent reply other threads:[~2006-06-14 11:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-14 10:53 "undefined symbol" on 2.6.14 Roman Mashak
2006-06-14 10:53 ` Roman Mashak
2006-06-14 11:53 ` Ralf Baechle [this message]
2006-06-15 0:40 ` Roman Mashak
2006-06-15 0:40 ` Roman Mashak
2006-06-15 1:09 ` Roman Mashak
2006-06-15 1:09 ` Roman Mashak
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=20060614115316.GA4515@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=linux-mips@linux-mips.org \
--cc=mrv@corecom.co.kr \
/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