From eda20064f9914593117a1b66cbc201bc070b534a Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Sat, 10 Jul 2004 23:06:41 +0000 Subject: [PATCH] Update for the KDB framework: o Call kdb_enter() instead of Debugger(). --- sys/sparc64/pci/psycho.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/sparc64/pci/psycho.c b/sys/sparc64/pci/psycho.c index 83466f91db40..aa002cc19708 100644 --- a/sys/sparc64/pci/psycho.c +++ b/sys/sparc64/pci/psycho.c @@ -42,6 +42,7 @@ #include #include #include +#include #include #include #include @@ -711,7 +712,7 @@ psycho_powerfail(void *arg) #ifdef DEBUGGER_ON_POWERFAIL struct psycho_softc *sc = (struct psycho_softc *)arg; - Debugger("powerfail"); + kdb_enter("powerfail"); PSYCHO_WRITE8(sc, PSR_POWER_INT_CLR, 0); #else printf("Power Failure Detected: Shutting down NOW.\n");