Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/librump/rumpkern Appearances count: spell "IPL_NONE...



details:   https://anonhg.NetBSD.org/src/rev/cb15a8fe3d2d
branches:  trunk
changeset: 786458:cb15a8fe3d2d
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sun Apr 28 23:21:00 2013 +0000

description:
Appearances count: spell "IPL_NONE" correctly.

diffstat:

 sys/rump/librump/rumpkern/vm.c |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (34 lines):

diff -r 7cbe6b862620 -r cb15a8fe3d2d sys/rump/librump/rumpkern/vm.c
--- a/sys/rump/librump/rumpkern/vm.c    Sun Apr 28 23:19:33 2013 +0000
+++ b/sys/rump/librump/rumpkern/vm.c    Sun Apr 28 23:21:00 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vm.c,v 1.139 2013/04/28 13:17:25 pooka Exp $   */
+/*     $NetBSD: vm.c,v 1.140 2013/04/28 23:21:00 pooka Exp $   */
 
 /*
  * Copyright (c) 2007-2011 Antti Kantee.  All Rights Reserved.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vm.c,v 1.139 2013/04/28 13:17:25 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm.c,v 1.140 2013/04/28 23:21:00 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -335,11 +335,11 @@
 #undef FAKE_PAGE_SHIFT
 #endif
 
-       mutex_init(&pagermtx, MUTEX_DEFAULT, 0);
-       mutex_init(&uvm_pageqlock, MUTEX_DEFAULT, 0);
-       mutex_init(&uvm_swap_data_lock, MUTEX_DEFAULT, 0);
+       mutex_init(&pagermtx, MUTEX_DEFAULT, IPL_NONE);
+       mutex_init(&uvm_pageqlock, MUTEX_DEFAULT, IPL_NONE);
+       mutex_init(&uvm_swap_data_lock, MUTEX_DEFAULT, IPL_NONE);
 
-       mutex_init(&pdaemonmtx, MUTEX_DEFAULT, 0);
+       mutex_init(&pdaemonmtx, MUTEX_DEFAULT, IPL_NONE);
        cv_init(&pdaemoncv, "pdaemon");
        cv_init(&oomwait, "oomwait");
 



Home | Main Index | Thread Index | Old Index