summaryrefslogtreecommitdiff
path: root/usr/src/uts/sun4/os/mlsetup.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/sun4/os/mlsetup.c')
-rw-r--r--usr/src/uts/sun4/os/mlsetup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/src/uts/sun4/os/mlsetup.c b/usr/src/uts/sun4/os/mlsetup.c
index 02dbdb874c..b9ade98a26 100644
--- a/usr/src/uts/sun4/os/mlsetup.c
+++ b/usr/src/uts/sun4/os/mlsetup.c
@@ -189,8 +189,10 @@ mlsetup(struct regs *rp, kfpu_t *fp)
p0.p_brkpageszc = 0;
p0.p_t1_lgrpid = LGRP_NONE;
p0.p_tr_lgrpid = LGRP_NONE;
+ psecflags_default(&p0.p_secflags);
sigorset(&p0.p_ignore, &ignoredefault);
+
CPU->cpu_thread = &t0;
CPU->cpu_dispthread = &t0;
bzero(&cpu0_disp, sizeof (disp_t));