WARNING: "__bad_udelay" [/media/7C9406039405C09E/taobao_mini2440/taobao/driver/gy-30/gy_30.ko] undefined!
WARNING: "__aeabi_d2f" [/media/7C9406039405C09E/taobao_mini2440/taobao/driver/gy-30/gy_30.ko] undefined!
WARNING: "__aeabi_ddiv" [/media/7C9406039405C09E/taobao_mini2440/taobao/driver/gy-30/gy_30.ko] undefined!
WARNING: "__aeabi_f2d" [/media/7C9406039405C09E/taobao_mini2440/taobao/driver/gy-30/gy_30.ko] undefined!
WARNING: "__aeabi_i2f" [/media/7C9406039405C09E/taobao_mini2440/taobao/driver/gy-30/gy_30.ko] undefined!
第一个是udelay参数太大的原因
/* 0x10c7 is 2**32 / 1000000 (rounded up) */
#define udelay(n) (__builtin_constant_p(n) ? \
((n) > 20000 ? __bad_udelay() : __const_udelay((n) * 0x10c7ul)) : \
__udelay(n))
/* 0x5 is 2**32 / 1000000000 (rounded up) */
#define ndelay(n) (__builtin_constant_p(n) ? \
((n) > 20000 ? __bad_ndelay() : __const_udelay((n) * 5ul)) : \
__ndelay(n))
其他是因为copy_to_user中传出的参数使用了float。
阅读(3574) | 评论(0) | 转发(0) |