On Thu, 9 Dec 2004 16:10:54 +0800, Jacky <jacky@xxxxxxxxxxxxxxxxxxxxx> wrote: > 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 > It means that function it is not exported by the kernel. see your symbol table cat /proc/ksyms | grep local_flush_tlb_all BTW: What arch are you working on and why do you want to do that??? -- Manish Regmi -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/