diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-02-13 23:31:30 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-02-13 23:31:30 +0000 |
commit | 1d0447febbaba751d981f87487a78f0b97db5386 (patch) | |
tree | bbbe83bce9755e06276f7bdf17851d42b5b0ce36 | |
parent | f5af53d910fe9c1c8328f1d5eea6868976f29e41 (diff) |
Release the secondary processor initialization interlock a bit later,
after the currently running processor has advertized itself as ready.
-rw-r--r-- | sys/arch/mvme88k/mvme88k/machdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/mvme88k/mvme88k/machdep.c b/sys/arch/mvme88k/mvme88k/machdep.c index d483aa4ebb3..4277ce115db 100644 --- a/sys/arch/mvme88k/mvme88k/machdep.c +++ b/sys/arch/mvme88k/mvme88k/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.218 2009/02/13 23:26:51 miod Exp $ */ +/* $OpenBSD: machdep.c,v 1.219 2009/02/13 23:31:29 miod Exp $ */ /* * Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr. * Copyright (c) 1996 Nivas Madhur @@ -759,13 +759,13 @@ secondary_main() cpu_configuration_print(0); ncpus++; - __cpu_simple_unlock(&cpu_boot_mutex); - microuptime(&ci->ci_schedstate.spc_runtime); ci->ci_curproc = NULL; ci->ci_randseed = random(); SET(ci->ci_flags, CIF_ALIVE); + __cpu_simple_unlock(&cpu_boot_mutex); + set_psr(get_psr() & ~PSR_IND); spl0(); |