Quantcast
Channel: Active questions tagged linux-kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 12241

How to export functions from modules (*.ko) that have circular dependencies

$
0
0

I have two Linux kernel modules (*.ko files). They have circular dependencies like this:

mod1.ko uses functions exported by mod2.ko
mod2.ko uses functions exported by mod1.ko

I can't merge the modules into single module. How do i write the modules such that I can insert mod1 first and then mod2 without any error.


Viewing all articles
Browse latest Browse all 12241

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>