Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

Chapter 30. Real-Time Kernel

Removing USB no longer causes a might_sleep() warning on MRG Realtime kernel

Removing an USB device on MRG Realtime kernel previously caused taking a sleeping spin lock with interruptions disabled. Consequently,the system logged a might_sleep() warning. This update replaces the local_irq_disable and local_irq_enable calls by local_irq_disable_nort and local_irq_enable_nort, respectively, which fixes this bug. (BZ#1443711)