diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1997-06-22 23:54:25 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1997-06-22 23:54:25 +0000 |
commit | 94ae4e2289dfc87ef067f8411c15861609600c11 (patch) | |
tree | ce7e584f03de67b37f6ccdaf09d31423e69fa4cd /sys/arch | |
parent | f4b4629b7d73abab0910ba9db41d3735fbad6f55 (diff) |
Only call powerdown() if SUN4M is defined.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sparc/sparc/machdep.c | 4 |
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(); } |