Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/pmax/pmax Fix build of INSTALL kernel which doesn't...



details:   https://anonhg.NetBSD.org/src/rev/758f5f817485
branches:  trunk
changeset: 938209:758f5f817485
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri Sep 04 06:12:16 2020 +0000

description:
Fix build of INSTALL kernel which doesn't have DDB

diffstat:

 sys/arch/pmax/pmax/machdep.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r dee7c190baf9 -r 758f5f817485 sys/arch/pmax/pmax/machdep.c
--- a/sys/arch/pmax/pmax/machdep.c      Fri Sep 04 05:23:25 2020 +0000
+++ b/sys/arch/pmax/pmax/machdep.c      Fri Sep 04 06:12:16 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.252 2020/09/03 07:05:30 simonb Exp $     */
+/*     $NetBSD: machdep.c,v 1.253 2020/09/04 06:12:16 skrll Exp $      */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.252 2020/09/03 07:05:30 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.253 2020/09/04 06:12:16 skrll Exp $");
 
 #include "opt_ddb.h"
 #include "opt_modular.h"
@@ -211,8 +211,10 @@
                callv = &callvec;
        }
 
+#ifdef DDB
        /* Make DDB "machine reset" call emulate pushing the HALT button. */
        cpu_reset_address = prom_haltbutton;
+#endif
 
        /* Use PROM console output until we initialize a console driver. */
        cn_tab = &promcd;



Home | Main Index | Thread Index | Old Index