Hi,
I have written a kernel module, and i want to call a function that belongs to my module from the native kernel module function say vfs_write().
If you want vfs_write (built into the kernel image) to be able to call a function, that function should be built into the kernel image as well (since the kernel is a monolithic statically compiled binary). In other words, if you want to call your kernel module function A from another function B, you need to: 1) EXPORT_SYMBOL(A) 2) Make sure B is built in as kernel module as well. 2) Load module containing A before module containing B. Thanks, Rajat -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ