aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linuxkpi/common/include/linux/sched.h
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2018-05-28 11:26:40 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2018-05-28 11:26:40 +0000
commit666cda9e0cac136d3e5d68b9198a5a4f2e0c6289 (patch)
treed329b7bb5f974fb69af57d435a425780acd54b1c /sys/compat/linuxkpi/common/include/linux/sched.h
parentbd40dea7e2237524d2138413986d9d1b96accd4e (diff)
downloadsrc-666cda9e0cac136d3e5d68b9198a5a4f2e0c6289.tar.gz
src-666cda9e0cac136d3e5d68b9198a5a4f2e0c6289.zip
The schedule_timeout_killable() function should listen for signals
in the LinuxKPI. Found by: Johannes Lundberg <johalun0@gmail.com> MFC after: 1 week Sponsored by: Mellanox Technologies
Notes
Notes: svn path=/head/; revision=334283
Diffstat (limited to 'sys/compat/linuxkpi/common/include/linux/sched.h')
-rw-r--r--sys/compat/linuxkpi/common/include/linux/sched.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/sched.h b/sys/compat/linuxkpi/common/include/linux/sched.h
index b24de2c2479b..24a733c8eb28 100644
--- a/sys/compat/linuxkpi/common/include/linux/sched.h
+++ b/sys/compat/linuxkpi/common/include/linux/sched.h
@@ -153,7 +153,7 @@ linux_schedule_get_interrupt_value(struct task_struct *task)
#define schedule_timeout(timeout) \
linux_schedule_timeout(timeout)
#define schedule_timeout_killable(timeout) \
- schedule_timeout_uninterruptible(timeout)
+ schedule_timeout_interruptible(timeout)
#define schedule_timeout_interruptible(timeout) ({ \
set_current_state(TASK_INTERRUPTIBLE); \
schedule_timeout(timeout); \