diff options
author | Masao Uebayashi <uebayasi@cvs.openbsd.org> | 2014-07-10 20:15:28 +0000 |
---|---|---|
committer | Masao Uebayashi <uebayasi@cvs.openbsd.org> | 2014-07-10 20:15:28 +0000 |
commit | a7afba102c11ffc2238e4ece5abaf2a9e695834d (patch) | |
tree | 560871833820dbb35fc08c8b76737f8f0daf6143 /sys/arch/octeon | |
parent | b54ae4b42c50da512ad76ad5d532154b249e5411 (diff) |
boot(9): Remove comments about RB_*, "cold", and savectx()
Again remove slightly different comments to reduce diffs. These will be
re-added once boot() become MI and its specification is clearly re-defined.
OK miod@
Diffstat (limited to 'sys/arch/octeon')
-rw-r--r-- | sys/arch/octeon/octeon/machdep.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/arch/octeon/octeon/machdep.c b/sys/arch/octeon/octeon/machdep.c index 90bfd69033f..a6e1b9cddc1 100644 --- a/sys/arch/octeon/octeon/machdep.c +++ b/sys/arch/octeon/octeon/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.51 2014/07/10 13:34:32 uebayasi Exp $ */ +/* $OpenBSD: machdep.c,v 1.52 2014/07/10 20:15:27 uebayasi Exp $ */ /* * Copyright (c) 2009, 2010 Miodrag Vallat. @@ -668,15 +668,10 @@ boot(int howto) { struct device *mainbus; - /* Take a snapshot before clobbering any registers. */ if (curproc) savectx(curproc->p_addr, 0); if (cold) { - /* - * If the system is cold, just halt, unless the user - * explicitly asked for reboot. - */ if ((howto & RB_USERREQ) == 0) howto |= RB_HALT; goto haltsys; |