Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm Fix trailing whitespace.
details: https://anonhg.NetBSD.org/src/rev/145fdb8bb479
branches: trunk
changeset: 971221:145fdb8bb479
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sat Apr 18 17:22:26 2020 +0000
description:
Fix trailing whitespace.
diffstat:
sys/uvm/uvm_map.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diffs (66 lines):
diff -r e7604416bf42 -r 145fdb8bb479 sys/uvm/uvm_map.c
--- a/sys/uvm/uvm_map.c Sat Apr 18 17:02:00 2020 +0000
+++ b/sys/uvm/uvm_map.c Sat Apr 18 17:22:26 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_map.c,v 1.379 2020/04/18 03:27:13 thorpej Exp $ */
+/* $NetBSD: uvm_map.c,v 1.380 2020/04/18 17:22:26 riastradh Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -66,7 +66,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.379 2020/04/18 03:27:13 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.380 2020/04/18 17:22:26 riastradh Exp $");
#include "opt_ddb.h"
#include "opt_pax.h"
@@ -2613,7 +2613,7 @@
if ((flags & UVM_EXTRACT_RESERVED) == 0) {
dstaddr = vm_map_min(dstmap);
- if (!uvm_map_reserve(dstmap, len, start,
+ if (!uvm_map_reserve(dstmap, len, start,
atop(start) & uvmexp.colormask, &dstaddr,
UVM_FLAG_COLORMATCH))
return (ENOMEM);
@@ -4171,7 +4171,7 @@
/*
* now unmap the old program.
- *
+ *
* XXX set VM_MAP_DYING for the duration, so pmap_update()
* is not called until the pmap has been totally cleared out
* after pmap_remove_all(), or it can confuse some pmap
@@ -5020,12 +5020,12 @@
KASSERT(voaddr2->type == UVM_VOADDR_TYPE_OBJECT ||
voaddr2->type == UVM_VOADDR_TYPE_ANON);
-
+
if (voaddr1->type < voaddr2->type)
return -1;
if (voaddr1->type > voaddr2->type)
return 1;
-
+
/* These fields are unioned together. */
CTASSERT(offsetof(struct uvm_voaddr, uobj) ==
offsetof(struct uvm_voaddr, anon));
@@ -5036,12 +5036,12 @@
return -1;
if (addr1 > addr2)
return 1;
-
+
if (voaddr1->offset < voaddr2->offset)
return -1;
if (voaddr1->offset > voaddr2->offset)
return 1;
-
+
return 0;
}
Home |
Main Index |
Thread Index |
Old Index