Why does kernel provide "module" macro?
xiaonan830818 at gmail.com
Mon Nov 16 23:07:32 EST 2015
I find there are some code in kernel likes this:
static struct net_device *dev_82596;
So I guess the function of "MODULE" is to build the code as a module.
Why do we need this macro? Is some code need specific processing when
a module or into kernel binary?
Thanks in advance!
More information about the Kernelnewbies