patch-2.4.23 linux-2.4.23/drivers/char/drm/drm_lock.h
Next file: linux-2.4.23/drivers/char/drm/drm_memory.h
Previous file: linux-2.4.23/drivers/char/drm/drm_ioctl.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
2003-11-28 10:26:20.000000000 -0800
- Orig file:
linux-2.4.22/drivers/char/drm/drm_lock.h
- Orig date:
2002-11-28 15:53:12.000000000 -0800
diff -urN linux-2.4.22/drivers/char/drm/drm_lock.h linux-2.4.23/drivers/char/drm/drm_lock.h
@@ -236,7 +236,7 @@
/* Allow signal delivery if lock isn't held */
- if (!_DRM_LOCK_IS_HELD(s->lock->lock)
+ if (!s->lock || !_DRM_LOCK_IS_HELD(s->lock->lock)
|| _DRM_LOCKING_CONTEXT(s->lock->lock) != s->context) return 1;
/* Otherwise, set flag to force call to
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)