Can't call function provided by kernel

From: Hsu I-Chieh
Date: Thu Dec 09 2004 - 03:11:46 EST


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/