本文转载自:http://blog.csdn.net/fdaopeng/article/details/7895037 __setup这条宏在Linux Kernel中使用最多的地方就是定义处理Kernel的启动参数的函数及数据结构,宏定义如下: #define __setup(str, fn) \__setup_param(str, fn, fn, 0) #define __setup_param(str, unique_id, fn, early) \static char __setup_…