From: Dave Airlie Date: Tue, 24 Oct 2006 18:36:59 +0000 (-0700) Subject: drm: fix up irqflags in drm_lock.c X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5c2df2bfb121a77d925dba580f53da08b4020528;p=openwrt%2Fstaging%2Fblogic.git drm: fix up irqflags in drm_lock.c Signed-off-by: Dave Airlie --- diff --git a/drivers/char/drm/drm_lock.c b/drivers/char/drm/drm_lock.c index e0abe5c68423..116ed0f2ac09 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;