diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2008-11-04 00:42:53 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2008-11-04 00:42:53 +0000 |
commit | 6870d70bdcc0ceaede12e5c6727214e868105d3d (patch) | |
tree | 47306c86266478f9d5e0beef2b42ad8c0c5e28ab | |
parent | 35b1b565135e7583328d948abf578c03bb7ee014 (diff) |
The drawable spinlock is no longer ever held in interrupt context (and
won't be). It doesn't need to block interrupts anymore so switch to
IPL_NONE.
-rw-r--r-- | sys/dev/pci/drm/drm_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/drm_drv.c b/sys/dev/pci/drm/drm_drv.c index 928f0a38d0c..ce21f383d5a 100644 --- a/sys/dev/pci/drm/drm_drv.c +++ b/sys/dev/pci/drm/drm_drv.c @@ -202,7 +202,7 @@ drm_attach(struct device *parent, struct device *kdev, dev->pci_device = PCI_PRODUCT(dev->pa.pa_id); rw_init(&dev->dev_lock, "drmdevlk"); - mtx_init(&dev->drw_lock, IPL_BIO); + mtx_init(&dev->drw_lock, IPL_NONE); mtx_init(&dev->tsk_lock, IPL_BIO); mtx_init(&dev->lock.spinlock, IPL_NONE); |