Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/arch/sparc/sparc Pull up revision 1.10 (requested b...



details:   https://anonhg.NetBSD.org/src/rev/af180bead182
branches:  netbsd-1-5
changeset: 492962:af180bead182
user:      he <he%NetBSD.org@localhost>
date:      Wed Mar 20 22:28:41 2002 +0000

description:
Pull up revision 1.10 (requested by jonb):
  Wrap SUN4-only code by the proper ifdef.

diffstat:

 sys/arch/sparc/sparc/promlib.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r ae976fda858c -r af180bead182 sys/arch/sparc/sparc/promlib.c
--- a/sys/arch/sparc/sparc/promlib.c    Wed Mar 20 22:21:58 2002 +0000
+++ b/sys/arch/sparc/sparc/promlib.c    Wed Mar 20 22:28:41 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: promlib.c,v 1.6 1999/05/03 07:32:50 pk Exp $ */
+/*     $NetBSD: promlib.c,v 1.6.12.1 2002/03/20 22:28:41 he Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -797,12 +797,14 @@
        promops.po_setcallback = (void *)sparc_noop;
        promops.po_setcontext = oldpvec->setcxsegmap;
 
+#ifdef SUN4
 #ifndef _STANDALONE
        if (oldpvec->romvecVersion >= 2) {
                extern void oldmon_w_cmd __P((u_long, char *));
                *oldpvec->vector_cmd = oldmon_w_cmd;
        }
 #endif
+#endif
 }
 
 static __inline__ void



Home | Main Index | Thread Index | Old Index