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_sysctl.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'bsd/drm_sysctl.h') diff --git a/bsd/drm_sysctl.h b/bsd/drm_sysctl.h index 36b81daa..270b3947 100644 --- a/bsd/drm_sysctl.h +++ b/bsd/drm_sysctl.h @@ -176,9 +176,9 @@ static int DRM(vm_info)DRM_SYSCTL_HANDLER_ARGS drm_device_t *dev = arg1; int ret; - DRM_LOCK; + DRM_LOCK(); ret = DRM(_vm_info)(oidp, arg1, arg2, req); - DRM_UNLOCK; + DRM_UNLOCK(); return ret; } @@ -228,9 +228,9 @@ static int DRM(bufs_info) DRM_SYSCTL_HANDLER_ARGS drm_device_t *dev = arg1; int ret; - DRM_LOCK; + DRM_LOCK(); ret = DRM(_bufs_info)(oidp, arg1, arg2, req); - DRM_UNLOCK; + DRM_UNLOCK(); return ret; } @@ -262,9 +262,9 @@ static int DRM(clients_info)DRM_SYSCTL_HANDLER_ARGS drm_device_t *dev = arg1; int ret; - DRM_LOCK; + DRM_LOCK(); ret = DRM(_clients_info)(oidp, arg1, arg2, req); - DRM_UNLOCK; + DRM_UNLOCK(); return ret; } -- cgit v1.2.3