projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
8ef9b5b
)
mmap: Remove an additional reference to the disablexworkaround variable
author
Matthew Dillon <dillon@apollo.backplane.com>
Wed, 26 May 2010 21:19:15 +0000 (14:19 -0700)
committer
Matthew Dillon <dillon@apollo.backplane.com>
Wed, 26 May 2010 21:19:15 +0000 (14:19 -0700)
* Fix kernel build, remove a second disablexworkaround check that was
missed.
sys/vm/vm_mmap.c
patch
|
blob
|
blame
|
history
diff --git
a/sys/vm/vm_mmap.c
b/sys/vm/vm_mmap.c
index
d4442d3
..
6c4c57b
100644
(file)
--- a/
sys/vm/vm_mmap.c
+++ b/
sys/vm/vm_mmap.c
@@
-361,9
+361,7
@@
kern_mmap(struct vmspace *vms, caddr_t uaddr, size_t ulen,
* we're at securelevel < 1, to allow the XIG X server
* to continue to work.
*/
-
- if ((flags & MAP_SHARED) != 0 ||
- (vp->v_type == VCHR && disablexworkaround)) {
+ if ((flags & MAP_SHARED) != 0 || vp->v_type == VCHR) {
if ((fp->f_flag & FWRITE) != 0) {
struct vattr va;
if ((error = VOP_GETATTR(vp, &va))) {