Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern __USING_TOPDOWN_VM is no more, __USE_TOPDOWN_VM...
details: https://anonhg.NetBSD.org/src/rev/880bef940e21
branches: trunk
changeset: 326326:880bef940e21
user: christos <christos%NetBSD.org@localhost>
date: Sat Jan 25 19:44:11 2014 +0000
description:
__USING_TOPDOWN_VM is no more, __USE_TOPDOWN_VM...
diffstat:
sys/kern/exec_elf.c | 6 +++---
sys/kern/kern_exec.c | 6 +++---
sys/kern/kern_proc.c | 6 +++---
3 files changed, 9 insertions(+), 9 deletions(-)
diffs (81 lines):
diff -r 64ad4aafd5f6 -r 880bef940e21 sys/kern/exec_elf.c
--- a/sys/kern/exec_elf.c Sat Jan 25 19:42:25 2014 +0000
+++ b/sys/kern/exec_elf.c Sat Jan 25 19:44:11 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: exec_elf.c,v 1.53 2013/12/21 17:44:33 skrll Exp $ */
+/* $NetBSD: exec_elf.c,v 1.54 2014/01/25 19:44:11 christos Exp $ */
/*-
* Copyright (c) 1994, 2000, 2005 The NetBSD Foundation, Inc.
@@ -57,7 +57,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: exec_elf.c,v 1.53 2013/12/21 17:44:33 skrll Exp $");
+__KERNEL_RCSID(1, "$NetBSD: exec_elf.c,v 1.54 2014/01/25 19:44:11 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_pax.h"
@@ -425,7 +425,7 @@
if (__predict_true(p->p_vmspace != proc0.p_vmspace)) {
use_topdown = p->p_vmspace->vm_map.flags & VM_MAP_TOPDOWN;
} else {
-#ifdef __USING_TOPDOWN_VM
+#ifdef __USE_TOPDOWN_VM
use_topdown = epp->ep_flags & EXEC_TOPDOWN_VM;
#else
use_topdown = false;
diff -r 64ad4aafd5f6 -r 880bef940e21 sys/kern/kern_exec.c
--- a/sys/kern/kern_exec.c Sat Jan 25 19:42:25 2014 +0000
+++ b/sys/kern/kern_exec.c Sat Jan 25 19:44:11 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_exec.c,v 1.369 2014/01/03 15:49:49 christos Exp $ */
+/* $NetBSD: kern_exec.c,v 1.370 2014/01/25 19:44:11 christos Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -59,7 +59,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_exec.c,v 1.369 2014/01/03 15:49:49 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_exec.c,v 1.370 2014/01/25 19:44:11 christos Exp $");
#include "opt_exec.h"
#include "opt_execfmt.h"
@@ -113,7 +113,7 @@
#include <compat/common/compat_util.h>
#ifndef MD_TOPDOWN_INIT
-#ifdef __USING_TOPDOWN_VM
+#ifdef __USE_TOPDOWN_VM
#define MD_TOPDOWN_INIT(epp) (epp)->ep_flags |= EXEC_TOPDOWN_VM
#else
#define MD_TOPDOWN_INIT(epp)
diff -r 64ad4aafd5f6 -r 880bef940e21 sys/kern/kern_proc.c
--- a/sys/kern/kern_proc.c Sat Jan 25 19:42:25 2014 +0000
+++ b/sys/kern/kern_proc.c Sat Jan 25 19:44:11 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_proc.c,v 1.190 2013/11/14 12:07:11 martin Exp $ */
+/* $NetBSD: kern_proc.c,v 1.191 2014/01/25 19:44:11 christos Exp $ */
/*-
* Copyright (c) 1999, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -62,7 +62,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_proc.c,v 1.190 2013/11/14 12:07:11 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_proc.c,v 1.191 2014/01/25 19:44:11 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_kstack.h"
@@ -484,7 +484,7 @@
*/
uvmspace_init(&vmspace0, pmap_kernel(), round_page(VM_MIN_ADDRESS),
trunc_page(VM_MAX_ADDRESS),
-#ifdef __USING_TOPDOWN_VM
+#ifdef __USE_TOPDOWN_VM
true
#else
false
Home |
Main Index |
Thread Index |
Old Index