From 94ae4e2289dfc87ef067f8411c15861609600c11 Mon Sep 17 00:00:00 2001 From: Jason Downs Date: Sun, 22 Jun 1997 23:54:25 +0000 Subject: Only call powerdown() if SUN4M is defined. --- sys/arch/sparc/sparc/machdep.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/arch') 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(); } -- cgit v1.2.3