Showing the changes to kernel/timer.c (1 of 2 files). Show all
Unified · Split
| @@ -1100,6 +1100,13 @@ signed long __sched schedule_timeout_interruptible(signed long timeout) · 1099 unmodified lines | |||
| 1100 | } | 1100 | } |
| 1101 | EXPORT_SYMBOL(schedule_timeout_interruptible); | 1101 | EXPORT_SYMBOL(schedule_timeout_interruptible); |
| 1102 | 1102 | ||
| 1103 | signed long __sched schedule_timeout_killable(signed long timeout) | ||
| 1104 | { | ||
| 1105 | __set_current_state(TASK_KILLABLE); | ||
| 1106 | return schedule_timeout(timeout); | ||
| 1107 | } | ||
| 1108 | EXPORT_SYMBOL(schedule_timeout_killable); | ||
| 1109 | |||
| 1103 | signed long __sched schedule_timeout_uninterruptible(signed long timeout) | 1110 | signed long __sched schedule_timeout_uninterruptible(signed long timeout) |
| 1104 | { | 1111 | { |
| 1105 | __set_current_state(TASK_UNINTERRUPTIBLE); | 1112 | __set_current_state(TASK_UNINTERRUPTIBLE); |