diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2003-03-28 14:27:37 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2003-03-28 14:27:37 +0000 |
commit | 1728bc637df023cce7b5abfeab2796ea481ca7e9 (patch) | |
tree | 9ca2295461929ec214307dc9986dbcec9e3809c6 /linux/gamma_drv.h | |
parent | 37cb114bd92a17112033f4838e86857bcd466024 (diff) |
merged drm-filp-0-1-branch
Diffstat (limited to 'linux/gamma_drv.h')
-rw-r--r-- | linux/gamma_drv.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/linux/gamma_drv.h b/linux/gamma_drv.h index e7d0c896..2f7d3588 100644 --- a/linux/gamma_drv.h +++ b/linux/gamma_drv.h @@ -42,16 +42,6 @@ typedef struct drm_gamma_private { drm_map_t *mmio3; } drm_gamma_private_t; -#define LOCK_TEST_WITH_RETURN( dev ) \ -do { \ - if ( !_DRM_LOCK_IS_HELD( dev->lock.hw_lock->lock ) || \ - dev->lock.pid != current->pid ) { \ - DRM_ERROR( "%s called without lock held\n", \ - __FUNCTION__ ); \ - return -EINVAL; \ - } \ -} while (0) - /* gamma_dma.c */ extern int gamma_dma_init( struct inode *inode, struct file *filp, unsigned int cmd, unsigned long arg ); |