Date: Thu, 7 Jun 2018 07:38:37 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r334761 - stable/11/sys/compat/linuxkpi/common/include/linux Message-ID: <201806070738.w577cb74056823@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hselasky Date: Thu Jun 7 07:38:37 2018 New Revision: 334761 URL: https://svnweb.freebsd.org/changeset/base/334761 Log: MFC r334283: The schedule_timeout_killable() function should listen for signals in the LinuxKPI. Found by: Johannes Lundberg <johalun0@gmail.com> Sponsored by: Mellanox Technologies Modified: stable/11/sys/compat/linuxkpi/common/include/linux/sched.h Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/compat/linuxkpi/common/include/linux/sched.h ============================================================================== --- stable/11/sys/compat/linuxkpi/common/include/linux/sched.h Thu Jun 7 07:37:38 2018 (r334760) +++ stable/11/sys/compat/linuxkpi/common/include/linux/sched.h Thu Jun 7 07:38:37 2018 (r334761) @@ -153,7 +153,7 @@ linux_schedule_get_interrupt_value(struct task_struct #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); \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806070738.w577cb74056823>