* Can't call function provided by kernel
@ 2004-12-09 8:09 Hsu I-Chieh
2004-12-09 10:59 ` Martin Waitz
2004-12-09 14:05 ` bert hubert
0 siblings, 2 replies; 3+ messages in thread
From: Hsu I-Chieh @ 2004-12-09 8:09 UTC (permalink / raw)
To: linux-kernel
Hi all,
I'm writing a kernel module in kernel 2.6.x. I called local_flush_tlb_all()
in my module
and there is no error or warning during compiling time. The code fragment
is as follow:
#include <asm/tlbflush.h>
void tlb_flush()
{
....
local_flush_tlb_all();
....
}
But when i insert this module into kernel, the message below is displayed:
mymodule: Unknown symbol local_flush_tlb_all
insmod: cannot insert `./mymodule.ko': Success (2): Success
Please do help!!
TIA
With regards,
Jacky Hsu
_________________________________________________________________
立即申請 MSN Mobile 服務:用手機和 MSN Messenger 網友隨時交談
http://msn.com.tw/msnmobile
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: Can't call function provided by kernel
2004-12-09 8:09 Can't call function provided by kernel Hsu I-Chieh
@ 2004-12-09 10:59 ` Martin Waitz
2004-12-09 14:05 ` bert hubert
1 sibling, 0 replies; 3+ messages in thread
From: Martin Waitz @ 2004-12-09 10:59 UTC (permalink / raw)
To: Hsu I-Chieh; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 162 bytes --]
hoi :)
On Thu, Dec 09, 2004 at 08:09:08AM +0000, Hsu I-Chieh wrote:
> local_flush_tlb_all();
perhaps you mean __flush_tlb_all() ?
--
Martin Waitz
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Can't call function provided by kernel
2004-12-09 8:09 Can't call function provided by kernel Hsu I-Chieh
2004-12-09 10:59 ` Martin Waitz
@ 2004-12-09 14:05 ` bert hubert
1 sibling, 0 replies; 3+ messages in thread
From: bert hubert @ 2004-12-09 14:05 UTC (permalink / raw)
To: Hsu I-Chieh; +Cc: linux-kernel
On Thu, Dec 09, 2004 at 08:09:08AM +0000, Hsu I-Chieh wrote:
> I'm writing a kernel module in kernel 2.6.x. I called
> local_flush_tlb_all() in my module and there is no error or warning during
> compiling time. The code fragment is as follow:
The problem is probably that local_flush_tlb_all() is not exported. It
appears to only be exported on IA64.
In fact, it appears the entire function does not exist on all that many
architectures!
--
http://www.PowerDNS.com Open source, database driven DNS Software
http://lartc.org Linux Advanced Routing & Traffic Control HOWTO
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-12-09 14:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-09 8:09 Can't call function provided by kernel Hsu I-Chieh
2004-12-09 10:59 ` Martin Waitz
2004-12-09 14:05 ` bert hubert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox