PNP: Convert pnp_lock into a mutex
pnp_lock is a spinlock, but it is only acquired from process context, so it may be a mutex just fine. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
* Bjorn Helgaas <bjorn.helgaas@hp.com>
|
||||
*/
|
||||
|
||||
extern spinlock_t pnp_lock;
|
||||
extern struct mutex pnp_lock;
|
||||
extern const struct attribute_group *pnp_dev_groups[];
|
||||
void *pnp_alloc(long size);
|
||||
|
||||
|
Reference in New Issue
Block a user