summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/include
diff options
context:
space:
mode:
authorMartin Reindl <martin@cvs.openbsd.org>2006-02-07 07:59:24 +0000
committerMartin Reindl <martin@cvs.openbsd.org>2006-02-07 07:59:24 +0000
commit1d59bec22938d36a4d97fb9b458a6cbafaeca3fb (patch)
tree0e4797652abd13babfd5d649d163b610151b2045 /sys/arch/alpha/include
parent91bb69e91d0862e5fa3e162fdaa5a30db9443a31 (diff)
convert pmap_phys_address() to a define, consistent with other archs;
avoids losing information due to int in proto ... thanks to KUDO Takashi for tracking this down ok miod@
Diffstat (limited to 'sys/arch/alpha/include')
-rw-r--r--sys/arch/alpha/include/pmap.h3
1 files changed, 2 insertions, 1 deletions
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 */