You cannot do that. The kernel must be self contained. The only way
for the kernel to access module code and data is for the module to
register that code and data when the module is loaded and for the
kernel to access the module via the registration list.
See any module that handles a filesystem. sys_open() does not call the
module directly. A module registers its file operations on load. The
kernel (dentry_open) calls the module via f->f_op->open.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/