aboutsummaryrefslogtreecommitdiff
path: root/sys/alpha/alpha/machdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/alpha/alpha/machdep.c')
-rw-r--r--sys/alpha/alpha/machdep.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/alpha/alpha/machdep.c b/sys/alpha/alpha/machdep.c
index 20c529ace9af..45284e677399 100644
--- a/sys/alpha/alpha/machdep.c
+++ b/sys/alpha/alpha/machdep.c
@@ -988,7 +988,6 @@ alpha_init(pfn, ptb, bim, bip, biv)
(u_int64_t)proc0paddr + USPACE - sizeof(struct trapframe);
proc0.p_md.md_tf =
(struct trapframe *)proc0paddr->u_pcb.pcb_hw.apcb_ksp;
- PCPU_SET(curproc, &proc0);
/*
* Get the right value for the boot cpu's idle ptbr.
@@ -1003,8 +1002,8 @@ alpha_init(pfn, ptb, bim, bip, biv)
/* Setup curproc so that mutexes work */
PCPU_SET(curproc, &proc0);
+ PCPU_SET(spinlocks, NULL);
- LIST_INIT(&proc0.p_heldmtx);
LIST_INIT(&proc0.p_contested);
/*