svn commit: r281980 - stable/9/sys/kern
Konstantin Belousov
kib at FreeBSD.org
Sat Apr 25 08:09:16 UTC 2015
Author: kib
Date: Sat Apr 25 08:09:15 2015
New Revision: 281980
URL: https://svnweb.freebsd.org/changeset/base/281980
Log:
MFC r281696:
Initialize td_sel in the thread_init().
PR: 199518
Modified:
stable/9/sys/kern/kern_thread.c
Directory Properties:
stable/9/sys/ (props changed)
Modified: stable/9/sys/kern/kern_thread.c
==============================================================================
--- stable/9/sys/kern/kern_thread.c Sat Apr 25 08:06:21 2015 (r281979)
+++ stable/9/sys/kern/kern_thread.c Sat Apr 25 08:09:15 2015 (r281980)
@@ -212,6 +212,7 @@ thread_init(void *mem, int size, int fla
td->td_sched = (struct td_sched *)&td[1];
umtx_thread_init(td);
td->td_kstack = 0;
+ td->td_sel = NULL;
return (0);
}
More information about the svn-src-stable-9
mailing list