summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-05-26 16:35:57 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-05-26 16:35:57 +0000
commit50f9fa49aea47c4a311d567ad2572de5a278f3df (patch)
tree7826a6916b50164b5348290cd1440e6a37fc2f67 /sys/arch/mac68k
parenteb0bcb3386167184cae3078fcc9f1c74f58d9776 (diff)
Sync with uvm_mmap() api change.
Diffstat (limited to 'sys/arch/mac68k')
-rw-r--r--sys/arch/mac68k/dev/grf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mac68k/dev/grf.c b/sys/arch/mac68k/dev/grf.c
index 192ede24f2b..be73ed02b77 100644
--- a/sys/arch/mac68k/dev/grf.c
+++ b/sys/arch/mac68k/dev/grf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: grf.c,v 1.25 2003/09/23 16:51:11 millert Exp $ */
+/* $OpenBSD: grf.c,v 1.26 2005/05/26 16:35:56 miod Exp $ */
/* $NetBSD: grf.c,v 1.41 1997/02/24 06:20:04 scottr Exp $ */
/*
@@ -366,7 +366,7 @@ grfmap(dev, addrp, p)
error = uvm_mmap(&p->p_vmspace->vm_map, (vm_offset_t *)addrp,
(vm_size_t)len, UVM_PROT_RW, UVM_PROT_RW, flags, (caddr_t)&vn, 0,
- p->p_rlimit[RLIMIT_MEMLOCK].rlim_cur);
+ p->p_rlimit[RLIMIT_MEMLOCK].rlim_cur, p);
/* Offset into page: */
*addrp += (unsigned long) gp->sc_grfmode->fboff & 0xfff;