aboutsummaryrefslogtreecommitdiff
path: root/sys/alpha
diff options
context:
space:
mode:
authorMike Smith <msmith@FreeBSD.org>1999-08-22 18:50:43 +0000
committerMike Smith <msmith@FreeBSD.org>1999-08-22 18:50:43 +0000
commitb85ad36084983a115c86cbe180c40bc3b96e03f2 (patch)
tree17d2c0cd93118a2f3ea8a7f5a459f90573c3e6b7 /sys/alpha
parentb59bb23b3d5e806a6e66368d1bde74fe0024fb80 (diff)
Notes
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/alpha/machdep.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/alpha/alpha/machdep.c b/sys/alpha/alpha/machdep.c
index f1923c0c2baca..e2034c259c683 100644
--- a/sys/alpha/alpha/machdep.c
+++ b/sys/alpha/alpha/machdep.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: machdep.c,v 1.48 1999/07/08 06:05:38 mckusick Exp $
+ * $Id: machdep.c,v 1.49 1999/08/19 00:16:51 peter Exp $
*/
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -95,6 +95,7 @@
#include <sys/param.h>
#include <sys/systm.h>
+#include <sys/eventhandler.h>
#include <sys/sysproto.h>
#include <sys/signalvar.h>
#include <sys/kernel.h>
@@ -247,7 +248,7 @@ static vm_offset_t pager_sva, pager_eva;
* unconditionally drop back to the SRM console.
*/
static void
-alpha_srm_shutdown(int howto, void *junk)
+alpha_srm_shutdown(void *junk, int howto)
{
if (howto & RB_HALT)
alpha_pal_halt();
@@ -433,8 +434,8 @@ again:
*/
bufinit();
vm_pager_bufferinit();
- at_shutdown_pri(alpha_srm_shutdown, 0, SHUTDOWN_FINAL,
- SHUTDOWN_PRI_LAST);
+ EVENTHANDLER_REGISTER(shutdown_final, alpha_srm_shutdown, 0
+ SHUTDOWN_PRI_LAST);
}
int