Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/mips Appease gcc.



details:   https://anonhg.NetBSD.org/src/rev/1917c8a5186f
branches:  trunk
changeset: 486528:1917c8a5186f
user:      soren <soren%NetBSD.org@localhost>
date:      Wed May 24 18:42:03 2000 +0000

description:
Appease gcc.

diffstat:

 sys/arch/mips/mips/vm_machdep.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (32 lines):

diff -r 1ba7c440c1d4 -r 1917c8a5186f sys/arch/mips/mips/vm_machdep.c
--- a/sys/arch/mips/mips/vm_machdep.c   Wed May 24 17:29:41 2000 +0000
+++ b/sys/arch/mips/mips/vm_machdep.c   Wed May 24 18:42:03 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vm_machdep.c,v 1.57 2000/05/10 08:55:22 nisimura Exp $ */
+/*     $NetBSD: vm_machdep.c,v 1.58 2000/05/24 18:42:03 soren Exp $    */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -43,7 +43,7 @@
  */
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.57 2000/05/10 08:55:22 nisimura Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.58 2000/05/24 18:42:03 soren Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -399,10 +399,10 @@
                return MIPS_KSEG0_TO_PHYS(kva);
 
 overrun:
+       printf("Virtual address %lx: cannot map to physical\n", kva);
 #ifdef DDB
-       printf("Virtual address %lx: cannot map to physical\n", kva);
        Debugger();
-#else
-       panic("Virtual address %lx: cannot map to physical\n", kva);
+       return 0;       /* XXX */
 #endif
+       panic("kvtophys");
 }



Home | Main Index | Thread Index | Old Index