diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-03-20 01:02:19 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-03-20 01:02:19 +0000 |
commit | 5283875d4ec522ecff5fde7c56a5d225c4bc0bbc (patch) | |
tree | afe4a47398c1ce8b2fd75ac914bfbfbcfef8dcfa /sys/arch | |
parent | 8646b82d5cecf48ca1a0d1fb4f291252baee2a46 (diff) |
a few good typos
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/hppa/hppa/pmap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/hppa/hppa/pmap.c b/sys/arch/hppa/hppa/pmap.c index 7368a74e75b..728b49bcc11 100644 --- a/sys/arch/hppa/hppa/pmap.c +++ b/sys/arch/hppa/hppa/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.66 2002/03/19 23:16:52 mickey Exp $ */ +/* $OpenBSD: pmap.c,v 1.67 2002/03/20 01:02:18 mickey Exp $ */ /* * Copyright (c) 1998-2002 Michael Shalayeff @@ -489,7 +489,7 @@ pmap_bootstrap(vstart) kpm->pm_stats.wired_count = kpm->pm_stats.resident_count = physmem = atop(vstart); - if (etext < etext1) { + if (&etext < &etext1) { physical_steal = (vaddr_t)&etext; physical_end = (vaddr_t)&etext1; } @@ -706,7 +706,7 @@ pmap_enter(pmap, va, pa, prot, flags) if (flags & PMAP_CANFAIL) return (KERN_RESOURCE_SHORTAGE); - panic("pmap_kenter: cannot allocate pde"); + panic("pmap_enter: cannot allocate pde"); } if (!ptp) @@ -1172,7 +1172,7 @@ pmap_kenter_pa(va, pa, prot) pte = pa | PTE_PROT(TLB_WIRED|TLB_DIRTY|pmap_prot(pmap_kernel(), prot)); /* if (pa >= HPPA_IOSPACE) */ - pte |= TLB_UNCACHABLE; + pte |= PTE_PROT(TLB_UNCACHABLE); pmap_pte_set(pde, va, pte); simple_unlock(&pmap->pm_obj.vmobjlock); |