]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/hid/hidraw.c
oom: do not dump task state for non thread group leaders
[linux-2.6-omap-h63xx.git] / drivers / hid / hidraw.c
index af3edb98df435f2c3fa22fde81350d4f15dcd286..894d52e05bf9cd995586250011e8401227bd043a 100644 (file)
@@ -264,6 +264,7 @@ static long hidraw_ioctl(struct file *file, unsigned int cmd,
                default:
                        ret = -ENOTTY;
        }
+       unlock_kernel();
        return ret;
 }
 
@@ -403,7 +404,7 @@ out:
        return result;
 }
 
-void __exit hidraw_exit(void)
+void hidraw_exit(void)
 {
        dev_t dev_id = MKDEV(hidraw_major, 0);