summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/disp/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/disp/thread.c')
-rw-r--r--usr/src/uts/common/disp/thread.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr/src/uts/common/disp/thread.c b/usr/src/uts/common/disp/thread.c
index 740d247672..1b39cf0d9e 100644
--- a/usr/src/uts/common/disp/thread.c
+++ b/usr/src/uts/common/disp/thread.c
@@ -24,7 +24,6 @@
* Use is subject to license terms.
*/
-
#include <sys/types.h>
#include <sys/param.h>
#include <sys/sysmacros.h>
@@ -431,7 +430,7 @@ thread_create(
t->t_clfuncs = &sys_classfuncs.thread;
t->t_cid = syscid;
t->t_pri = pri;
- t->t_stime = lbolt;
+ t->t_stime = ddi_get_lbolt();
t->t_schedflag = TS_LOAD | TS_DONT_SWAP;
t->t_bind_cpu = PBIND_NONE;
t->t_bindflag = (uchar_t)default_binding_mode;