__devexit_p
来源:互联网 发布:淘宝未发货退款影响吗 编辑:程序博客网 时间:2024/06/11 07:02
.remove = __devexit_p(s3c2410wdt_remove),
进入init.h,
/* Functions marked as __devexit may be discarded at kernel link time, dependingon config options. Newer versions of binutils detect references fromretained sections to discarded sections and flag an error. Pointers to__devexit functions must use __devexit_p(function_name), the wrapper willinsert either the function_name or NULL, depending on the config options.*/#if defined(MODULE) || defined(CONFIG_HOTPLUG)#define __devexit_p(x) x#else#define __devexit_p(x) NULL#endif这个标记根据是否配置MODULE/CONFIG_HOTPLUG来决定括号里是x还是为空。
阅读全文
0 0
- __devexit_p
- __devexit_p的功能
- __devexit_p的功能
- __devexit_p的功能
- __devexit_p的作用
- __devexit_p宏的功能
- [多项式求逆] 51Nod TalkingData数据科学精英夏令营挑战赛 F 驴蛋蛋与老孙与微分式
- r语言基础绘图
- github使用简单总结
- 代理服务器与NAT技术
- Eclipse中运行Maven的几种方式
- __devexit_p
- Scala基础—implicit编程示例
- canvas画图时,图形被拉伸问题
- CSS3+js实现简单的旋转圆环时钟效果实例
- App开放接口api安全性—Token签名sign的设计与实现
- app自动化测试3---appium
- linux
- The web and databases
- 线程基本概念和线程控制