Author: lstewart
Date: Sat Nov 6 12:41:47 2010
New Revision: 214874
URL: http://svn.freebsd.org/changeset/base/214874
Log:
The kthread/kproc KPI differs between 7.x and 8.x+ and requires the use of
kthread_exit() in order to get a wakeup delivered to the "struct proc *" which
ALQ relies on.
This is an intentional direct commit to the 7-STABLE branch.
Modified:
stable/7/sys/kern/kern_alq.c
Modified: stable/7/sys/kern/kern_alq.c
==============================================================================
--- stable/7/sys/kern/kern_alq.c Sat Nov 6 11:38:49 2010
(r214873)
+++ stable/7/sys/kern/kern_alq.c Sat Nov 6 12:41:47 2010
(r214874)
@@ -220,7 +220,7 @@ ald_daemon(void)
ALD_LOCK();
}
- kproc_exit(0);
+ kthread_exit(0);
}
static void
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"