From: niklas Date: Sat, 4 Jan 1997 14:17:30 +0000 (+0000) Subject: VM_PAGE_INIT takes an offset as the 3rd arg, not a pointer X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=46a7038b48d902133c48de0e1b3dab0263367d7b;p=openbsd VM_PAGE_INIT takes an offset as the 3rd arg, not a pointer --- diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index 1d14a50ff2e..37131d3c021 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_page.c,v 1.3 1996/08/02 00:06:03 niklas Exp $ */ +/* $OpenBSD: vm_page.c,v 1.4 1997/01/04 14:17:30 niklas Exp $ */ /* $NetBSD: vm_page.c,v 1.28 1996/02/05 01:54:05 christos Exp $ */ /* @@ -533,7 +533,7 @@ pmap_startup(startp, endp) i = 0; for (;;) { /* Initialize a page array element. */ - VM_PAGE_INIT(&vm_page_array[i], NULL, NULL); + VM_PAGE_INIT(&vm_page_array[i], NULL, 0); vm_page_array[i].phys_addr = paddr; vm_page_free(&vm_page_array[i]);