summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k/dev/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/mvme68k/dev/flash.c')
-rw-r--r--sys/arch/mvme68k/dev/flash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mvme68k/dev/flash.c b/sys/arch/mvme68k/dev/flash.c
index fedb067a285..3dfa7a22d56 100644
--- a/sys/arch/mvme68k/dev/flash.c
+++ b/sys/arch/mvme68k/dev/flash.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: flash.c,v 1.14 2004/07/03 14:36:34 miod Exp $ */
+/* $OpenBSD: flash.c,v 1.15 2005/10/27 16:04:08 martin Exp $ */
/*
* Copyright (c) 1995 Theo de Raadt
@@ -488,5 +488,5 @@ flashmmap(dev, off, prot)
/* allow access only in RAM */
if (off < 0 || off > sc->sc_len)
return (-1);
- return (m68k_btop(sc->sc_paddr + off));
+ return (atop(sc->sc_paddr + off));
}