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