summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-04-06 09:34:16 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-04-06 09:34:16 +0000
commit2fa683b3f03c3d5ad55568a936061fb7fda94d70 (patch)
treee310c602c741a8e33a61d25eab2c8af1d227cba1
parent8afabf0971c4edb5c9f7901e0a3d3009a6135ea0 (diff)
Get rid of vm_pmap.
beck@ ok.
-rw-r--r--sys/arch/mac68k/mac68k/genassym.cf4
-rw-r--r--sys/arch/mac68k/mac68k/locore.s4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/mac68k/mac68k/genassym.cf b/sys/arch/mac68k/mac68k/genassym.cf
index ceca7f07d51..c5b3241d151 100644
--- a/sys/arch/mac68k/mac68k/genassym.cf
+++ b/sys/arch/mac68k/mac68k/genassym.cf
@@ -1,4 +1,4 @@
-# $OpenBSD: genassym.cf,v 1.1 1997/04/18 17:29:51 gene Exp $
+# $OpenBSD: genassym.cf,v 1.2 2001/04/06 09:34:15 art Exp $
# $NetBSD: genassym.cf,v 1.1 1997/04/15 06:11:40 scottr Exp $
#
@@ -73,7 +73,7 @@ define MD_REGS offsetof(struct mdproc, md_regs)
define PM_STCHG offsetof(struct pmap, pm_stchanged)
-define VM_PMAP offsetof(struct vmspace, vm_pmap)
+define VM_PMAP offsetof(struct vmspace, vm_map.pmap)
define V_SWTCH offsetof(struct vmmeter, v_swtch)
define V_TRAP offsetof(struct vmmeter, v_trap)
define V_SYSCALL offsetof(struct vmmeter, v_syscall)
diff --git a/sys/arch/mac68k/mac68k/locore.s b/sys/arch/mac68k/mac68k/locore.s
index 7e062a830b4..7137abeba5b 100644
--- a/sys/arch/mac68k/mac68k/locore.s
+++ b/sys/arch/mac68k/mac68k/locore.s
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.s,v 1.23 2000/06/05 11:02:59 art Exp $ */
+/* $OpenBSD: locore.s,v 1.24 2001/04/06 09:34:15 art Exp $ */
/* $NetBSD: locore.s,v 1.74 1997/02/02 08:17:46 thorpej Exp $ */
/*
@@ -1347,7 +1347,7 @@ Lswnofpsave:
tstl a0 | map == VM_MAP_NULL?
jeq Lbadsw | panic
#endif /* DIAGNOSTIC */
- lea a0@(VM_PMAP),a0 | pmap = &vmspace.vm_pmap
+ movl a0@(VM_PMAP),a0 | pmap = vmspace->vm_map.pmap
tstl a0@(PM_STCHG) | pmap->st_changed?
jeq Lswnochg | no, skip
pea a1@ | push pcb (at p_addr)