summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/tc/cfb.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/alpha/tc/cfb.c')
-rw-r--r--sys/arch/alpha/tc/cfb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/alpha/tc/cfb.c b/sys/arch/alpha/tc/cfb.c
index a6b01de3e4b..dc4e0955d65 100644
--- a/sys/arch/alpha/tc/cfb.c
+++ b/sys/arch/alpha/tc/cfb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cfb.c,v 1.14 2002/03/14 03:15:51 millert Exp $ */
+/* $OpenBSD: cfb.c,v 1.15 2005/10/28 19:10:26 martin Exp $ */
/* $NetBSD: cfb.c,v 1.7 1996/12/05 01:39:39 cgd Exp $ */
/*
@@ -314,7 +314,7 @@ cfbmmap(v, offset, prot)
if (offset > CFB_SIZE)
return (-1);
- return alpha_btop(sc->sc_dc->dc_paddr + offset);
+ return atop(sc->sc_dc->dc_paddr + offset);
}
int