Why does kernel provide "module" macro?
Nov. 17, 2015
4:07 a.m.
Hi all, I find there are some code in kernel likes this: #ifdef MODULE static struct net_device *dev_82596; ...... #endif 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 building as a module or into kernel binary? Thanks in advance! Best Regards Nan Xiao
3925
Age (days ago)
3925
Last active (days ago)
0 comments
1 participants
participants (1)
-
Nan Xiao