From a20a3b38fda9f25eacd7f4f77f082a6d3a20e94b Mon Sep 17 00:00:00 2001 From: soren Date: Wed, 24 May 2000 18:42:03 +0000 Subject: [PATCH] Appease gcc. --- sys/arch/mips/mips/vm_machdep.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/arch/mips/mips/vm_machdep.c b/sys/arch/mips/mips/vm_machdep.c index e632bc82c48c..fca42b312e7d 100644 --- a/sys/arch/mips/mips/vm_machdep.c +++ b/sys/arch/mips/mips/vm_machdep.c @@ -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 /* 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 #include @@ -399,10 +399,10 @@ kvtophys(kva) return MIPS_KSEG0_TO_PHYS(kva); overrun: -#ifdef DDB printf("Virtual address %lx: cannot map to physical\n", kva); +#ifdef DDB Debugger(); -#else - panic("Virtual address %lx: cannot map to physical\n", kva); + return 0; /* XXX */ #endif + panic("kvtophys"); }