Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/uvm make this compile.



details:   https://anonhg.NetBSD.org/src/rev/e32c44dfacfe
branches:  trunk
changeset: 326320:e32c44dfacfe
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jan 25 17:30:45 2014 +0000

description:
make this compile.

diffstat:

 sys/uvm/uvm_mmap.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 591be5b13368 -r e32c44dfacfe sys/uvm/uvm_mmap.c
--- a/sys/uvm/uvm_mmap.c        Sat Jan 25 17:24:45 2014 +0000
+++ b/sys/uvm/uvm_mmap.c        Sat Jan 25 17:30:45 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_mmap.c,v 1.147 2014/01/25 17:21:49 christos Exp $  */
+/*     $NetBSD: uvm_mmap.c,v 1.148 2014/01/25 17:30:45 christos Exp $  */
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -46,7 +46,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_mmap.c,v 1.147 2014/01/25 17:21:49 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_mmap.c,v 1.148 2014/01/25 17:30:45 christos Exp $");
 
 #include "opt_compat_netbsd.h"
 #include "opt_pax.h"
@@ -342,7 +342,7 @@
                 * and ld.so did not turn it on. We take care of this on amd64
                 * in compat32.
                 */
-               SCARG(&ua, prot) |= PROT_EXEC;
+               prot |= PROT_EXEC;
 #endif
        }
        if ((flags & (MAP_SHARED|MAP_PRIVATE)) == (MAP_SHARED|MAP_PRIVATE))



Home | Main Index | Thread Index | Old Index