diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-01-28 23:14:25 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-01-28 23:14:25 +0000 |
commit | 6008e3354778e7e234b47a4f8c1dda515ba915ac (patch) | |
tree | 7fce748bf471b5a287102d248f7edeec83954362 /sys | |
parent | 0ea7ce0e19c8f5479e6afa6de28f615621fb28dd (diff) |
yes, there is no sense in double savectx here; from Brian J. Kifiak <bk@rt.fm>
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/i386/i386/machdep.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c index 7980b1fedb6..e4d95a93984 100644 --- a/sys/arch/i386/i386/machdep.c +++ b/sys/arch/i386/i386/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.195 2002/01/23 21:59:52 mickey Exp $ */ +/* $OpenBSD: machdep.c,v 1.196 2002/01/28 23:14:24 mickey Exp $ */ /* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */ /*- @@ -1602,12 +1602,8 @@ boot(howto) splhigh(); /* Do a dump if requested. */ - if (howto & RB_DUMP) { - /* Save registers. */ - savectx(&dumppcb); - + if (howto & RB_DUMP) dumpsys(); - } haltsys: doshutdownhooks(); |