diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2012-02-19 17:14:29 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2012-02-19 17:14:29 +0000 |
commit | 7b72ea803ca2ab2106971f2005356f1c52c690c5 (patch) | |
tree | 286f8787de60dcfe11d35e8f533eb12e47708e25 /sys | |
parent | 8697019348c8d4ef73b6027fc20cb3b05b2eabf9 (diff) |
small KNF nit
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/i386/i386/pmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/pmap.c b/sys/arch/i386/i386/pmap.c index 40ef1ac57da..2cdfba314d7 100644 --- a/sys/arch/i386/i386/pmap.c +++ b/sys/arch/i386/i386/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.155 2011/07/08 03:35:39 kettenis Exp $ */ +/* $OpenBSD: pmap.c,v 1.156 2012/02/19 17:14:28 kettenis Exp $ */ /* $NetBSD: pmap.c,v 1.91 2000/06/02 17:46:37 thorpej Exp $ */ /* @@ -821,7 +821,7 @@ pmap_bootstrap(vaddr_t kva_start) pmap_pg_g = PG_G; /* enable software */ /* add PG_G attribute to already mapped kernel pages */ - for (kva = VM_MIN_KERNEL_ADDRESS ; kva < virtual_avail ; + for (kva = VM_MIN_KERNEL_ADDRESS; kva < virtual_avail; kva += PAGE_SIZE) if (pmap_valid_entry(PTE_BASE[atop(kva)])) PTE_BASE[atop(kva)] |= PG_G; |