Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm Use right UVM_xxx_COLORMATCH flag (even both use the...



details:   https://anonhg.NetBSD.org/src/rev/403b7ab8e64f
branches:  trunk
changeset: 773371:403b7ab8e64f
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Feb 01 02:22:27 2012 +0000

description:
Use right UVM_xxx_COLORMATCH flag (even both use the same value).

diffstat:

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

diffs (27 lines):

diff -r 5755a8d29d74 -r 403b7ab8e64f sys/uvm/uvm_km.c
--- a/sys/uvm/uvm_km.c  Wed Feb 01 02:21:19 2012 +0000
+++ b/sys/uvm/uvm_km.c  Wed Feb 01 02:22:27 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_km.c,v 1.114 2012/01/31 00:30:52 matt Exp $        */
+/*     $NetBSD: uvm_km.c,v 1.115 2012/02/01 02:22:27 matt Exp $        */
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -120,7 +120,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_km.c,v 1.114 2012/01/31 00:30:52 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_km.c,v 1.115 2012/02/01 02:22:27 matt Exp $");
 
 #include "opt_uvmhist.h"
 
@@ -670,7 +670,7 @@
                    loopva, loopsize, vm);
 
                pg = uvm_pagealloc(NULL, loopva, NULL,
-                   UVM_KMF_COLORMATCH
+                   UVM_FLAG_COLORMATCH
                    | ((flags & VM_SLEEP) ? 0 : UVM_PGA_USERESERVE));
                if (__predict_false(pg == NULL)) {
                        if (flags & VM_SLEEP) {



Home | Main Index | Thread Index | Old Index