diff options
Diffstat (limited to 'drivers/char/genrtc.c')
-rw-r--r-- | drivers/char/genrtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/genrtc.c b/drivers/char/genrtc.c index 23b25ada65ea..49f914e79216 100644 --- a/drivers/char/genrtc.c +++ b/drivers/char/genrtc.c | |||
@@ -207,7 +207,7 @@ static ssize_t gen_rtc_read(struct file *file, char __user *buf, | |||
207 | sizeof(unsigned long); | 207 | sizeof(unsigned long); |
208 | } | 208 | } |
209 | out: | 209 | out: |
210 | current->state = TASK_RUNNING; | 210 | __set_current_state(TASK_RUNNING); |
211 | remove_wait_queue(&gen_rtc_wait, &wait); | 211 | remove_wait_queue(&gen_rtc_wait, &wait); |
212 | 212 | ||
213 | return retval; | 213 | return retval; |