implement a rump stub of uvm_loanobj yamt-pagecache
authoryamt <yamt@NetBSD.org>
Sat, 14 Jan 2012 04:36:39 +0000
branchyamt-pagecache
changeset 280345 e6061fba10e1
parent 280344 08e49d54cb83
child 280346 cbf877041e98
implement a rump stub of uvm_loanobj
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)
 {