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
This commit is contained in:
parent
bd40dea7e2
commit
666cda9e0c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=334283
@ -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); \
|
||||
|
Loading…
Reference in New Issue
Block a user