提交 5c2df2bf 编写于 作者: D Dave Airlie 提交者: airlied

drm: fix up irqflags in drm_lock.c

Signed-off-by: NDave Airlie <airlied@linux.ie>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册