aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/ftdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'litmus/ftdev.c')
-rw-r--r--litmus/ftdev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/litmus/ftdev.c b/litmus/ftdev.c
index 06fcf4cf77dc..7ff7f25b56aa 100644
--- a/litmus/ftdev.c
+++ b/litmus/ftdev.c
@@ -231,7 +231,9 @@ static ssize_t ftdev_read(struct file *filp,
231 * lost if the task is interrupted (e.g., killed). 231 * lost if the task is interrupted (e.g., killed).
232 */ 232 */
233 set_current_state(TASK_INTERRUPTIBLE); 233 set_current_state(TASK_INTERRUPTIBLE);
234
234 schedule_timeout(50); 235 schedule_timeout(50);
236
235 if (signal_pending(current)) { 237 if (signal_pending(current)) {
236 if (err == 0) 238 if (err == 0)
237 /* nothing read yet, signal problem */ 239 /* nothing read yet, signal problem */