diff options
author | Eric Anholt <anholt@freebsd.org> | 2003-10-03 07:02:51 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2003-10-03 07:02:51 +0000 |
commit | 929536172cda4288857cdc29b272e61e02fd47bd (patch) | |
tree | f6aafcc059a7ef212f8a854bb3777790d199a8e3 /bsd/drm_fops.h | |
parent | e187d665e4ffee4990d096d8d3722630b2ba2d46 (diff) |
Stylistic preparation for SMPng locking work: DRM_LOCK/DRM_UNLOCK have side
effects, so make them look like functions (add parenthesis).
Diffstat (limited to 'bsd/drm_fops.h')
-rw-r--r-- | bsd/drm_fops.h | 4 |
1 files changed, 2 insertions, 2 deletions
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; |