summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/tc/sfb.c
diff options
context:
space:
mode:
authorMartin Reindl <martin@cvs.openbsd.org>2005-10-28 19:10:27 +0000
committerMartin Reindl <martin@cvs.openbsd.org>2005-10-28 19:10:27 +0000
commit2915b44cd36246dee73d8b3b3465fd6230dc8912 (patch)
tree00351f9fe3c31bc4d8daf6081e4134a7207d8017 /sys/arch/alpha/tc/sfb.c
parentfe4e3ccb55fba76a5e17ab2391a1b452f5145c2c (diff)
no more Mach-macros
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