summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1995-03-18 01:04:36 +0000
committerdg <dg@FreeBSD.org>1995-03-18 01:04:36 +0000
commitcc818c5048bd3b8ecc49c9ee118c5cc9a09502bc (patch)
treed2f197199c9130202ef537ff5e5766fe55b1dd4f /sys
parent107fa9cbb1aa397116f7ea30a4d8455a34a1709e (diff)
downloadFreeBSD-src-cc818c5048bd3b8ecc49c9ee118c5cc9a09502bc.zip
FreeBSD-src-cc818c5048bd3b8ecc49c9ee118c5cc9a09502bc.tar.gz
In vm_page_alloc_contig: Removed a redundant semicolon and used 'm' instead
of &pga[i] in one place.
Diffstat (limited to 'sys')
-rw-r--r--sys/vm/vm_page.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c
index 71eb2ef..66e7fec 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.23 1995/03/01 23:29:59 davidg Exp $
+ * $Id: vm_page.c,v 1.24 1995/03/16 18:17:26 bde Exp $
*/
/*
@@ -737,7 +737,7 @@ again:
tmp_addr = addr = kmem_alloc_pageable(kernel_map, size);
for (i = start; i < (start + size / PAGE_SIZE); i++) {
- vm_page_t m = &pga[i];;
+ vm_page_t m = &pga[i];
TAILQ_REMOVE(&vm_page_queue_free, m, pageq);
cnt.v_free_count--;
@@ -750,7 +750,7 @@ again:
m->busy = 0;
vm_page_insert(m, kernel_object, tmp_addr - VM_MIN_KERNEL_ADDRESS);
vm_page_wire(m);
- pmap_kenter(tmp_addr, VM_PAGE_TO_PHYS(&pga[i]));
+ pmap_kenter(tmp_addr, VM_PAGE_TO_PHYS(m));
tmp_addr += PAGE_SIZE;
}
OpenPOWER on IntegriCloud