diff options
author | Alan Hourihane <alanh@tungstengraphics.com> | 2008-03-14 00:25:42 +0000 |
---|---|---|
committer | Alan Hourihane <alanh@tungstengraphics.com> | 2008-03-14 00:25:42 +0000 |
commit | 1ea8a470fe9103036817ae3a960522c37901bddc (patch) | |
tree | edc58ce47d2367a85c50b036d13f93b58cd3cb4c /linux-core | |
parent | ae1bb96a7e24362500e02cf3a86bd268c2dcc835 (diff) |
fix build problems
Diffstat (limited to 'linux-core')
-rw-r--r-- | linux-core/drm_lock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/drm_lock.c b/linux-core/drm_lock.c index 39e1261c..db1d646b 100644 --- a/linux-core/drm_lock.c +++ b/linux-core/drm_lock.c @@ -74,7 +74,7 @@ int drm_lock(struct drm_device *dev, void *data, struct drm_file *file_priv) add_wait_queue(&dev->lock.lock_queue, &entry); spin_lock_irqsave(&dev->lock.spinlock, irqflags); dev->lock.user_waiters++; - spin_unlock_irqsave(&dev->lock.spinlock, irqflags); + spin_unlock_irqrestore(&dev->lock.spinlock, irqflags); for (;;) { __set_current_state(TASK_INTERRUPTIBLE); if (!dev->lock.hw_lock) { @@ -361,7 +361,7 @@ void drm_idlelock_take(struct drm_lock_data *lock_data) if (ret == 1) lock_data->idle_has_lock = 1; } - spin_unlock_irqrestore(&lock_data->spinlock, irq_flags); + spin_unlock_irqrestore(&lock_data->spinlock, irqflags); } EXPORT_SYMBOL(drm_idlelock_take); |