summaryrefslogtreecommitdiff
path: root/bsd-core/drmP.h
diff options
context:
space:
mode:
authorvehemens <vehemens@verizon.net>2008-09-06 15:33:47 -0700
committerRobert Noland <rnoland@2hip.net>2008-09-06 18:55:03 -0400
commit9ad5a6d0d73ba58ec7c2f66d0c5355185f2f68c6 (patch)
tree5e1c0c1e6e5dd634d5ef10e8be9b8c6a3715fe11 /bsd-core/drmP.h
parentb8a9cebddc7063bc0dae889dac43359c0cb9bfa5 (diff)
Pass lock data like linux and open.
Signed-off-by: Robert Noland <rnoland@2hip.net>
Diffstat (limited to 'bsd-core/drmP.h')
-rw-r--r--bsd-core/drmP.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/bsd-core/drmP.h b/bsd-core/drmP.h
index 7244b353..f8705e36 100644
--- a/bsd-core/drmP.h
+++ b/bsd-core/drmP.h
@@ -911,13 +911,11 @@ void drm_ctxbitmap_free(struct drm_device *dev, int ctx_handle);
int drm_ctxbitmap_next(struct drm_device *dev);
/* Locking IOCTL support (drm_lock.c) */
-int drm_lock_take(__volatile__ unsigned int *lock,
- unsigned int context);
-int drm_lock_transfer(struct drm_device *dev,
- __volatile__ unsigned int *lock,
+int drm_lock_take(struct drm_lock_data *lock_data,
+ unsigned int context);
+int drm_lock_transfer(struct drm_lock_data *lock_data,
unsigned int context);
-int drm_lock_free(struct drm_device *dev,
- __volatile__ unsigned int *lock,
+int drm_lock_free(struct drm_lock_data *lock_data,
unsigned int context);
/* Buffer management support (drm_bufs.c) */