From 929536172cda4288857cdc29b272e61e02fd47bd Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 3 Oct 2003 07:02:51 +0000 Subject: Stylistic preparation for SMPng locking work: DRM_LOCK/DRM_UNLOCK have side effects, so make them look like functions (add parenthesis). --- bsd/drm_fops.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bsd/drm_fops.h') diff --git a/bsd/drm_fops.h b/bsd/drm_fops.h index 0ebf6ee4..b44254b8 100644 --- a/bsd/drm_fops.h +++ b/bsd/drm_fops.h @@ -84,9 +84,9 @@ int DRM(open_helper)(dev_t kdev, int flags, int fmt, DRM_STRUCTPROC *p, priv->devXX = dev; priv->ioctl_count = 0; priv->authenticated = !DRM_SUSER(p); - DRM_LOCK; + DRM_LOCK(); TAILQ_INSERT_TAIL(&dev->files, priv, link); - DRM_UNLOCK; + DRM_UNLOCK(); } #ifdef __FreeBSD__ kdev->si_drv1 = dev; -- cgit v1.2.3