commit | d9184fa97b6f48d399636e5e2669bc8419f9369e | [log] [tgz] |
---|---|---|
author | Ben Skeggs <bskeggs@redhat.com> | Tue Feb 16 11:14:14 2010 +1000 |
committer | Ben Skeggs <bskeggs@redhat.com> | Tue Feb 16 11:14:33 2010 +1000 |
tree | d7712d3a30050d949fdb99c9962dac1c85ce4349 | |
parent | 13876c6e5fec94e9ea51b73ac025583dd7655345 [diff] [blame] |
drm/nouveau: use mutex for vbios lock Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
diff --git a/drivers/gpu/drm/nouveau/nouveau_bios.h b/drivers/gpu/drm/nouveau/nouveau_bios.h index 68446fd..fd94bd6 100644 --- a/drivers/gpu/drm/nouveau/nouveau_bios.h +++ b/drivers/gpu/drm/nouveau/nouveau_bios.h
@@ -205,7 +205,7 @@ struct drm_device *dev; struct nouveau_bios_info pub; - spinlock_t lock; + struct mutex lock; uint8_t data[NV_PROM_SIZE]; unsigned int length;