diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2003-05-09 23:09:22 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2003-05-09 23:09:22 +0000 |
commit | 60fd59680454e411ffce2ad46a2bb1002513b9f1 (patch) | |
tree | c05f225e8f33edeead558d376db483a85ea60a0a /sys/arch/hp300/dev/grf.c | |
parent | d2e6fca5536e77d006a62c2deceddcb7b79b6159 (diff) |
No need to map framebuffers executable. Really.
fries@ niklas@ ok.
Diffstat (limited to 'sys/arch/hp300/dev/grf.c')
-rw-r--r-- | sys/arch/hp300/dev/grf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hp300/dev/grf.c b/sys/arch/hp300/dev/grf.c index fcd648f8ea2..8872de31e07 100644 --- a/sys/arch/hp300/dev/grf.c +++ b/sys/arch/hp300/dev/grf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grf.c,v 1.20 2002/10/29 18:30:21 art Exp $ */ +/* $OpenBSD: grf.c,v 1.21 2003/05/09 23:09:20 art Exp $ */ /* $NetBSD: grf.c,v 1.30 1998/08/20 08:33:41 kleink Exp $ */ /* @@ -637,7 +637,7 @@ grfmap(dev, addrp, p) vn.v_specinfo = &si; /* XXX */ vn.v_rdev = dev; /* XXX */ error = uvm_mmap(&p->p_vmspace->vm_map, (vaddr_t *)addrp, - (vsize_t)len, VM_PROT_ALL, VM_PROT_ALL, + (vsize_t)len, UVM_PROT_RW, UVM_PROT_RW, flags, (caddr_t)&vn, 0, p->p_rlimit[RLIMIT_MEMLOCK].rlim_cur); if (error == 0) |