kobject: kobj_lock needs to be grabed using spinlock_irq
This is because some subsystems (cough, usb...) can grab a kobject from irq context. This lock can be completely removed once the sysfs_init() code is cleaned up. Patch originally by Andrew Morton.
Showing
Please register or sign in to comment