diff options
author | Ian Romanick <idr@us.ibm.com> | 2007-08-29 00:04:18 -0700 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2007-08-29 00:04:18 -0700 |
commit | 2bcd5b5e330843e1e1a5f0a19105ecd33e76b00b (patch) | |
tree | 197982405a8cd77bc857ad18965adab1426adaa6 /linux-core/xgi_drv.c | |
parent | 3383e8bd6bcd2323c81252e617c8522593baf818 (diff) |
Use DRM_SPINLOCK / DRM_UNSPINLOCK macros.
Diffstat (limited to 'linux-core/xgi_drv.c')
-rw-r--r-- | linux-core/xgi_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/xgi_drv.c b/linux-core/xgi_drv.c index 241cd39f..6b576558 100644 --- a/linux-core/xgi_drv.c +++ b/linux-core/xgi_drv.c @@ -202,7 +202,7 @@ int xgi_bootstrap(struct drm_device * dev, void * data, int err; - spin_lock_init(&info->fence_lock); + DRM_SPINLOCK_INIT(&info->fence_lock); info->next_sequence = 0; info->complete_sequence = 0; |