From: Dave Airlie Date: Tue, 24 Oct 2006 18:36:59 +0000 (-0700) Subject: drm: fix up irqflags in drm_lock.c X-Git-Tag: v2.6.20-rc1~34^2~20^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=5c2df2bfb121a77d925dba580f53da08b4020528;p=linux-2.6-omap-h63xx.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 e0abe5c6842..116ed0f2ac0 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;