diff options
author | dyson <dyson@FreeBSD.org> | 1995-12-11 15:41:50 +0000 |
---|---|---|
committer | dyson <dyson@FreeBSD.org> | 1995-12-11 15:41:50 +0000 |
commit | fde0933a9eb7bf6ba31b41bff01d18e60327c7b0 (patch) | |
tree | d47c7486f1acad5792eda412b01f07820686aa07 | |
parent | 1666bc5e5d32e2334b147930a974754f8c013618 (diff) | |
download | FreeBSD-src-fde0933a9eb7bf6ba31b41bff01d18e60327c7b0.zip FreeBSD-src-fde0933a9eb7bf6ba31b41bff01d18e60327c7b0.tar.gz |
Some DIAGNOSTIC code was enabled all of the time in error. The
diagnostic code is now conditional on #ifdef DIAGNOSTIC again.
-rw-r--r-- | sys/vm/vm_page.c | 6 |
1 files 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; |