Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm Clean up some indentation lossage in uvm_map_extract().



details:   https://anonhg.NetBSD.org/src/rev/90df6047a39c
branches:  trunk
changeset: 486347:90df6047a39c
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri May 19 17:43:55 2000 +0000

description:
Clean up some indentation lossage in uvm_map_extract().

diffstat:

 sys/uvm/uvm_map.c |  14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diffs (30 lines):

diff -r a48b13a77906 -r 90df6047a39c sys/uvm/uvm_map.c
--- a/sys/uvm/uvm_map.c Fri May 19 16:40:04 2000 +0000
+++ b/sys/uvm/uvm_map.c Fri May 19 17:43:55 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_map.c,v 1.73 2000/04/24 17:12:00 thorpej Exp $     */
+/*     $NetBSD: uvm_map.c,v 1.74 2000/05/19 17:43:55 thorpej Exp $     */
 
 /* 
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -1558,13 +1558,15 @@
                while (entry->start < end && entry != &srcmap->header) {
 
                        if (copy_ok) {
-       oldoffset = (entry->start + fudge) - start;
-       elen = min(end, entry->end) - (entry->start + fudge);
-       pmap_copy(dstmap->pmap, srcmap->pmap, dstaddr + oldoffset, 
-                 elen, entry->start + fudge);
+                               oldoffset = (entry->start + fudge) - start;
+                               elen = min(end, entry->end) -
+                                   (entry->start + fudge);
+                               pmap_copy(dstmap->pmap, srcmap->pmap,
+                                   dstaddr + oldoffset, elen,
+                                   entry->start + fudge);
                        }
 
-      /* we advance "entry" in the following if statement */
+                       /* we advance "entry" in the following if statement */
                        if (flags & UVM_EXTRACT_REMOVE) {
                                pmap_remove(srcmap->pmap, entry->start, 
                                                entry->end);



Home | Main Index | Thread Index | Old Index