From fde0933a9eb7bf6ba31b41bff01d18e60327c7b0 Mon Sep 17 00:00:00 2001 From: dyson Date: Mon, 11 Dec 1995 15:41:50 +0000 Subject: Some DIAGNOSTIC code was enabled all of the time in error. The diagnostic code is now conditional on #ifdef DIAGNOSTIC again. --- sys/vm/vm_page.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index 63f0cbc..081c262 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)vm_page.c 7.4 (Berkeley) 5/7/91 - * $Id: vm_page.c,v 1.40 1995/12/07 12:48:23 davidg Exp $ + * $Id: vm_page.c,v 1.41 1995/12/11 04:58:25 dyson Exp $ */ /* @@ -564,11 +564,11 @@ vm_page_alloc(object, pindex, page_req) register vm_page_t mem; int s; -/* #ifdef DIAGNOSTIC */ +#ifdef DIAGNOSTIC mem = vm_page_lookup(object, pindex); if (mem) panic("vm_page_alloc: page already allocated"); -/* #endif */ +#endif if ((curproc == pageproc) && (page_req != VM_ALLOC_INTERRUPT)) { page_req = VM_ALLOC_SYSTEM; -- cgit v1.1