diff options
| author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2018-05-28 10:51:39 +0000 |
|---|---|---|
| committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2018-05-28 10:51:39 +0000 |
| commit | 2a3ec12831a7bb30480cf4200bcb0671cba0cb00 (patch) | |
| tree | 69252287a4ef547744880e742598d28626470b9f /sys/compat/linuxkpi | |
| parent | 609169becc8289b86cd097fdac74e5616977be75 (diff) | |
Notes
Diffstat (limited to 'sys/compat/linuxkpi')
| -rw-r--r-- | sys/compat/linuxkpi/common/src/linux_schedule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linuxkpi/common/src/linux_schedule.c b/sys/compat/linuxkpi/common/src/linux_schedule.c index 11602ddf9b11..665e2fdf6b31 100644 --- a/sys/compat/linuxkpi/common/src/linux_schedule.c +++ b/sys/compat/linuxkpi/common/src/linux_schedule.c @@ -47,7 +47,7 @@ linux_add_to_sleepqueue(void *wchan, struct task_struct *task, { int flags, ret; - MPASS((state & ~TASK_NORMAL) == 0); + MPASS((state & ~(TASK_PARKED | TASK_NORMAL)) == 0); flags = SLEEPQ_SLEEP | ((state & TASK_INTERRUPTIBLE) != 0 ? SLEEPQ_INTERRUPTIBLE : 0); |
