]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/genrtc.c
drivers/char: use __set_current_state()
[linux-2.6-omap-h63xx.git] / drivers / char / genrtc.c
index 23b25ada65ea3c5b02405b1cf955afd17051d5f1..49f914e7921636c96bd363c9b95fcc1fb307257d 100644 (file)
@@ -207,7 +207,7 @@ static ssize_t gen_rtc_read(struct file *file, char __user *buf,
                        sizeof(unsigned long);
        }
  out:
-       current->state = TASK_RUNNING;
+       __set_current_state(TASK_RUNNING);
        remove_wait_queue(&gen_rtc_wait, &wait);
 
        return retval;