Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/atari/atari Make this compile again.
details: https://anonhg.NetBSD.org/src/rev/c2ac20c1702a
branches: trunk
changeset: 474677:c2ac20c1702a
user: leo <leo%NetBSD.org@localhost>
date: Thu Jul 15 10:46:58 1999 +0000
description:
Make this compile again.
diffstat:
sys/arch/atari/atari/sys_machdep.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r 2f0a80334752 -r c2ac20c1702a sys/arch/atari/atari/sys_machdep.c
--- a/sys/arch/atari/atari/sys_machdep.c Wed Jul 14 23:57:36 1999 +0000
+++ b/sys/arch/atari/atari/sys_machdep.c Thu Jul 15 10:46:58 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sys_machdep.c,v 1.19 1999/07/08 18:05:26 thorpej Exp $ */
+/* $NetBSD: sys_machdep.c,v 1.20 1999/07/15 10:46:58 leo Exp $ */
/*
* Copyright (c) 1982, 1986 Regents of the University of California.
@@ -132,8 +132,9 @@
#if defined(M68040) || defined(M68060)
if (mmutype == MMU_68040) {
register int inc = 0;
- int pa = 0, doall = 0;
+ int doall = 0;
vaddr_t end = 0;
+ paddr_t pa = 0;
if (addr == 0 ||
((req & ~CC_EXTPURGE) != CC_PURGE && len > 2*NBPG))
@@ -156,8 +157,8 @@
*/
if (!doall &&
(pa == 0 || (addr & PGOFSET) == 0)) {
- if (pmap_extract(p->p_vmspace, addr, &pa) ==
- FALSE)
+ if (pmap_extract(p->p_vmspace->vm_map.pmap,
+ addr, &pa) == FALSE)
doall = 1;
}
switch (req) {
Home |
Main Index |
Thread Index |
Old Index