From 5c2df2bfb121a77d925dba580f53da08b4020528 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 24 Oct 2006 11:36:59 -0700 Subject: [PATCH] drm: fix up irqflags in drm_lock.c Signed-off-by: Dave Airlie --- drivers/char/drm/drm_lock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/drm/drm_lock.c b/drivers/char/drm/drm_lock.c index e0abe5c..116ed0f 100644 --- a/drivers/char/drm/drm_lock.c +++ b/drivers/char/drm/drm_lock.c @@ -155,7 +155,7 @@ int drm_unlock(struct inode *inode, struct file *filp, drm_file_t *priv = filp->private_data; drm_device_t *dev = priv->head->dev; drm_lock_t lock; - unsigned int irqflags; + unsigned long irqflags; if (copy_from_user(&lock, (drm_lock_t __user *) arg, sizeof(lock))) return -EFAULT; -- 2.7.4