summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorJanne Johansson <jj@cvs.openbsd.org>2001-06-14 10:41:51 +0000
committerJanne Johansson <jj@cvs.openbsd.org>2001-06-14 10:41:51 +0000
commit68d8d0b123d36081dcb287e75959eb525522d6de (patch)
tree4e5126420fdc254982de46470ce2c93bbdc9fcad /sys/arch
parent0b25b722011202523aa2a1211c4e4f0132be9b81 (diff)
Fix for pmap_extract on amiga. int -> paddr_t fix.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amiga/amiga/sys_machdep.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/amiga/amiga/sys_machdep.c b/sys/arch/amiga/amiga/sys_machdep.c
index f26599f711a..437d43d1c4c 100644
--- a/sys/arch/amiga/amiga/sys_machdep.c
+++ b/sys/arch/amiga/amiga/sys_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sys_machdep.c,v 1.9 2001/06/08 08:08:42 art Exp $ */
+/* $OpenBSD: sys_machdep.c,v 1.10 2001/06/14 10:41:50 jj Exp $ */
/* $NetBSD: sys_machdep.c,v 1.16 1997/05/19 10:14:47 veego Exp $ */
/*
@@ -73,8 +73,9 @@ cachectl(req, addr, len)
#if defined(M68040) || defined(M68060)
if (mmutype == MMU_68040) {
register int inc = 0;
- int pa = 0, doall = 0;
+ int doall = 0;
caddr_t end = 0;
+ paddr_t pa = 0;
if (addr == 0 ||
((req & ~CC_EXTPURGE) != CC_PURGE && len > 2*NBPG))