Module Name: src
Committed By: he
Date: Wed Jun 10 11:41:44 UTC 2009
Modified Files:
src/sys/rump/librump/rumpkern: vm.c
Log Message:
Add a dummy uvm_readahead() function, to fix build issues after it
recently got added to the kernel.
OK'ed by pooka@
To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/sys/rump/librump/rumpkern/vm.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/rump/librump/rumpkern/vm.c
diff -u src/sys/rump/librump/rumpkern/vm.c:1.57 src/sys/rump/librump/rumpkern/vm.c:1.58
--- src/sys/rump/librump/rumpkern/vm.c:1.57 Wed Jun 3 16:06:10 2009
+++ src/sys/rump/librump/rumpkern/vm.c Wed Jun 10 11:41:43 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: vm.c,v 1.57 2009/06/03 16:06:10 pooka Exp $ */
+/* $NetBSD: vm.c,v 1.58 2009/06/10 11:41:43 he Exp $ */
/*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vm.c,v 1.57 2009/06/03 16:06:10 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm.c,v 1.58 2009/06/10 11:41:43 he Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -58,6 +58,7 @@
#include <uvm/uvm.h>
#include <uvm/uvm_ddb.h>
#include <uvm/uvm_prot.h>
+#include <uvm/uvm_readahead.h>
#include "rump_private.h"
@@ -449,6 +450,14 @@
/* nada for now */
}
+int
+uvm_readahead(struct uvm_object *uobj, off_t off, off_t size)
+{
+
+ /* nada for now */
+ return 0;
+}
+
/*
* Kmem
*/