diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2001-11-24 17:53:42 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2001-11-24 17:53:42 +0000 |
commit | 7a90d5732b29d7724f332d8639860539b423c9cd (patch) | |
tree | 6a97252c3014aa8bd0b577885f4717cb997feac9 /sys/arch/i386 | |
parent | b50e76635844355014ba05285dc1afbbc97c1e9d (diff) |
Harmonize boot() logic across arches:
- ensure RB_DUMP | RB_HALT will cause a dump
- or RB_HALT if (cold)
While there, honor RB_TIMEBAD on sparc64.
Diffstat (limited to 'sys/arch/i386')
-rw-r--r-- | sys/arch/i386/i386/machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c index aba28ca0742..e4e9633ea1d 100644 --- a/sys/arch/i386/i386/machdep.c +++ b/sys/arch/i386/i386/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.182 2001/11/09 15:25:55 art Exp $ */ +/* $OpenBSD: machdep.c,v 1.183 2001/11/24 17:53:41 miod Exp $ */ /* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */ /*- @@ -1603,7 +1603,7 @@ boot(howto) splhigh(); /* Do a dump if requested. */ - if ((howto & (RB_DUMP | RB_HALT)) == RB_DUMP) { + if (howto & RB_DUMP) { /* Save registers. */ savectx(&dumppcb); |