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 Fixed build with locks_up.c



details:   https://anonhg.NetBSD.org/src/rev/eca4fe94fdd8
branches:  trunk
changeset: 779045:eca4fe94fdd8
user:      stacktic <stacktic%NetBSD.org@localhost>
date:      Sat Apr 28 18:04:02 2012 +0000

description:
Fixed build with locks_up.c

diffstat:

 sys/rump/librump/rumpkern/locks_up.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 7fd791069449 -r eca4fe94fdd8 sys/rump/librump/rumpkern/locks_up.c
--- a/sys/rump/librump/rumpkern/locks_up.c      Sat Apr 28 17:30:19 2012 +0000
+++ b/sys/rump/librump/rumpkern/locks_up.c      Sat Apr 28 18:04:02 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locks_up.c,v 1.5 2010/12/01 17:22:51 pooka Exp $       */
+/*     $NetBSD: locks_up.c,v 1.6 2012/04/28 18:04:02 stacktic Exp $    */
 
 /*
  * Copyright (c) 2010 Antti Kantee.  All Rights Reserved.
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: locks_up.c,v 1.5 2010/12/01 17:22:51 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: locks_up.c,v 1.6 2012/04/28 18:04:02 stacktic Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -160,6 +160,7 @@
 struct lwp *
 mutex_owner(kmutex_t *mtx)
 {
+       UPMTX(mtx);
 
        return upm->upm_owner;
 }



Home | Main Index | Thread Index | Old Index