Source-Changes-HG archive

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

[src/yamt-pagecache]: src/sys/rump/librump/rumpkern implement a rump stub of ...



details:   https://anonhg.NetBSD.org/src/rev/4d8568090699
branches:  yamt-pagecache
changeset: 770860:4d8568090699
user:      yamt <yamt%NetBSD.org@localhost>
date:      Sat Jan 14 04:36:39 2012 +0000

description:
implement a rump stub of uvm_loanobj

diffstat:

 sys/rump/librump/rumpkern/vm.c |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (32 lines):

diff -r fcdcae8bda6c -r 4d8568090699 sys/rump/librump/rumpkern/vm.c
--- a/sys/rump/librump/rumpkern/vm.c    Wed Jan 11 00:09:51 2012 +0000
+++ b/sys/rump/librump/rumpkern/vm.c    Sat Jan 14 04:36:39 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vm.c,v 1.120.2.2 2011/11/10 14:33:18 yamt Exp $        */
+/*     $NetBSD: vm.c,v 1.120.2.3 2012/01/14 04:36:39 yamt 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.120.2.2 2011/11/10 14:33:18 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm.c,v 1.120.2.3 2012/01/14 04:36:39 yamt Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -627,6 +627,13 @@
        panic("%s: unimplemented", __func__);
 }
 
+int
+uvm_loanobj(struct uvm_object *uobj, struct uio *uio)
+{
+
+       return ENOTSUP;
+}
+
 void
 ubc_purge(struct uvm_object *uobj)
 {



Home | Main Index | Thread Index | Old Index