summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2001-06-09 20:34:37 +0000
committerBob Beck <beck@cvs.openbsd.org>2001-06-09 20:34:37 +0000
commitb8e207409dc68339319bf71737b89329c1381492 (patch)
treefa03f4994f4cde4b19f090bdf53fa0c7c8974c76 /sys/arch/mac68k
parent3d4d4eb20bd7960fbd0361bd7ec0e42e0c8438ee (diff)
fix art oopsie so this compiles
Diffstat (limited to 'sys/arch/mac68k')
-rw-r--r--sys/arch/mac68k/mac68k/bus_space.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/mac68k/mac68k/bus_space.c b/sys/arch/mac68k/mac68k/bus_space.c
index cbae298e2c3..c4b4d168134 100644
--- a/sys/arch/mac68k/mac68k/bus_space.c
+++ b/sys/arch/mac68k/mac68k/bus_space.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bus_space.c,v 1.6 2001/06/08 08:09:01 art Exp $ */
+/* $OpenBSD: bus_space.c,v 1.7 2001/06/09 20:34:36 beck Exp $ */
/* $NetBSD: bus_space.c,v 1.5 1999/03/26 23:41:30 mycroft Exp $ */
/*-
@@ -212,7 +212,8 @@ bus_space_unmap(t, bsh, size)
panic("bus_space_unmap: overflow");
#endif
- pmap_extract(pmap_kernel(), va, &bpa) + (bsh & PGOFSET);
+ pmap_extract(pmap_kernel(), va, &bpa);
+ bpa += (bsh & PGOFSET);
/*
* Free the kernel virtual mapping.