Skip to content

Commit

Permalink
drm: fix up irqflags in drm_lock.c
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Airlie <airlied@linux.ie>
  • Loading branch information
Dave Airlie committed Dec 7, 2006
1 parent 2228ed6 commit 5c2df2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/drm/drm_lock.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5c2df2b

Please sign in to comment.