BUG: scheduling while atomic: swapper/0/0x00000100
Modules linked in: iqs316
Pid: 0, comm: swapper
CPU: 0 Not tainted (2.6.37 #111)
PC is at default_idle+0x48/0x50
LR is at default_idle+0x3c/0x50
pc : [<c00317c0>] lr : [<c00317b4>] psr: 60000013
Linux驱动常见BUG: scheduling while atomic: swapper/0/0x00000100
最新推荐文章于 2024-04-22 11:40:15 发布
本文分析了一个Linux内核驱动错误:'scheduling while atomic: swapper/0/0x00000100'。错误源于在中断处理函数CommsIQS316_send中调用msleep()导致的。内核规定中断处理期间禁止调度和休眠,此错误表明这一规定被违反。
摘要由CSDN通过智能技术生成