summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc/sparc/machdep.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc/sparc/machdep.c b/sys/arch/sparc/sparc/machdep.c
index ad2c58e89d8..e3751a8dd08 100644
--- a/sys/arch/sparc/sparc/machdep.c
+++ b/sys/arch/sparc/sparc/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.23 1997/06/22 22:33:53 downsj Exp $ */
+/* $OpenBSD: machdep.c,v 1.24 1997/06/22 23:54:24 downsj Exp $ */
/* $NetBSD: machdep.c,v 1.64 1996/05/19 04:12:56 mrg Exp $ */
/*
@@ -681,10 +681,12 @@ boot(howto)
(void) splhigh(); /* ??? */
if ((howto & RB_HALT) || (howto & RB_POWERDOWN)) {
doshutdownhooks();
+#if defined(SUN4M)
if (howto & RB_POWERDOWN) {
printf("attempting to power down...\n");
powerdown();
}
+#endif
printf("halted\n\n");
romhalt();
}