diff options
author | Martin Reindl <martin@cvs.openbsd.org> | 2005-10-27 16:04:09 +0000 |
---|---|---|
committer | Martin Reindl <martin@cvs.openbsd.org> | 2005-10-27 16:04:09 +0000 |
commit | 88558a4e5e5064b586ce4aa901e479ab5e0e75c6 (patch) | |
tree | 5be6581779295e43cd2b628d5e60f7effe7eb86d /sys/arch/mvme68k/dev/flash.c | |
parent | d75aeaad3e7a1ecd4432648a97c2809fa0967b8c (diff) |
stupid me, of course these MD macros need to be converted to MI macros
as well
Diffstat (limited to 'sys/arch/mvme68k/dev/flash.c')
-rw-r--r-- | sys/arch/mvme68k/dev/flash.c | 4 |
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)); } |