Commit 5c2df2bf authored by Dave Airlie's avatar Dave Airlie Committed by airlied

drm: fix up irqflags in drm_lock.c

Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
parent 2228ed67
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment