diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-06-11 20:10:52 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-06-11 20:10:52 +0000 |
commit | 1af3a0257d32eb7cbda8ec72047ec959248d85f3 (patch) | |
tree | adf36e651f634b293976ddb90273195e66f68881 /sys/arch/hppa/include | |
parent | 5d2d546082ffef5bdb2d921b766595505bb631a8 (diff) |
Correctly flush direct mappings (cache/tlb). Uncovered by ariane's new
allocator.
Diffstat (limited to 'sys/arch/hppa/include')
-rw-r--r-- | sys/arch/hppa/include/pmap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/include/pmap.h b/sys/arch/hppa/include/pmap.h index 8b5693e3093..bc952b887fb 100644 --- a/sys/arch/hppa/include/pmap.h +++ b/sys/arch/hppa/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.35 2007/12/14 18:32:23 deraadt Exp $ */ +/* $OpenBSD: pmap.h,v 1.36 2009/06/11 20:10:51 kettenis Exp $ */ /* * Copyright (c) 2002-2004 Michael Shalayeff @@ -84,7 +84,7 @@ extern struct pdc_hwtlb pdc_hwtlb; * pool quickmaps */ #define pmap_map_direct(pg) ((vaddr_t)VM_PAGE_TO_PHYS(pg)) -#define pmap_unmap_direct(va) PHYS_TO_VM_PAGE((paddr_t)(va)) +struct vm_page *pmap_unmap_direct(vaddr_t); #define __HAVE_PMAP_DIRECT /* |