summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/alpha/alpha/pmap.c18
-rw-r--r--sys/arch/alpha/include/pmap.h3
2 files changed, 3 insertions, 18 deletions
diff --git a/sys/arch/alpha/alpha/pmap.c b/sys/arch/alpha/alpha/pmap.c
index f1ca9da01ce..fddd1a7251d 100644
--- a/sys/arch/alpha/alpha/pmap.c
+++ b/sys/arch/alpha/alpha/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.44 2005/11/03 06:40:28 brad Exp $ */
+/* $OpenBSD: pmap.c,v 1.45 2006/02/07 07:59:22 martin Exp $ */
/* $NetBSD: pmap.c,v 1.154 2000/12/07 22:18:55 thorpej Exp $ */
/*-
@@ -2534,22 +2534,6 @@ pmap_is_modified(struct vm_page *pg)
}
/*
- * pmap_phys_address: [ INTERFACE ]
- *
- * Return the physical address corresponding to the specified
- * cookie. Used by the device pager to decode a device driver's
- * mmap entry point return value.
- *
- * Note: no locking is necessary in this function.
- */
-paddr_t
-pmap_phys_address(int ppn)
-{
-
- return (ptoa(ppn));
-}
-
-/*
* Miscellaneous support routines follow
*/
diff --git a/sys/arch/alpha/include/pmap.h b/sys/arch/alpha/include/pmap.h
index c8eeb16a6b6..11f8c718950 100644
--- a/sys/arch/alpha/include/pmap.h
+++ b/sys/arch/alpha/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.20 2004/08/06 22:39:10 deraadt Exp $ */
+/* $OpenBSD: pmap.h,v 1.21 2006/02/07 07:59:23 martin Exp $ */
/* $NetBSD: pmap.h,v 1.37 2000/11/19 03:16:35 thorpej Exp $ */
/*-
@@ -190,6 +190,7 @@ void pmap_tlb_shootdown_q_drain(u_long, boolean_t);
#define pmap_resident_count(pmap) ((pmap)->pm_stats.resident_count)
#define pmap_wired_count(pmap) ((pmap)->pm_stats.wired_count)
#define pmap_update(pmap) /* nothing (yet) */
+#define pmap_phys_address(ppn) ptoa(ppn)
#define pmap_proc_iflush(p, va, len) /* nothing */
#define pmap_unuse_final(p) /* nothing */