]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
drm: fix up irqflags in drm_lock.c
authorDave Airlie <airlied@linux.ie>
Tue, 24 Oct 2006 18:36:59 +0000 (11:36 -0700)
committerairlied <airlied@linux.ie>
Thu, 7 Dec 2006 04:53:31 +0000 (15:53 +1100)
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/drm_lock.c

index e0abe5c68423569b66f9e4c9f9cb783ad785baaa..116ed0f2ac09738e500ce038470d63845c019762 100644 (file)
@@ -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;