Module Name:    src
Committed By:   pooka
Date:           Tue Oct 20 10:42:41 UTC 2009

Modified Files:
        src/sys/rump/librump/rumpkern: Makefile.rumpkern rump.c
        src/sys/rump/librump/rumpvfs: Makefile.rumpvfs

Log Message:
Actually, put uvm_readahead into rumpkern, since while it's
technically vfs stuff, sys_descrip depends on it and readahead
itself uses only the pager interface.


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/rump/librump/rumpkern/Makefile.rumpkern
cvs rdiff -u -r1.127 -r1.128 src/sys/rump/librump/rumpkern/rump.c
cvs rdiff -u -r1.17 -r1.18 src/sys/rump/librump/rumpvfs/Makefile.rumpvfs

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/Makefile.rumpkern
diff -u src/sys/rump/librump/rumpkern/Makefile.rumpkern:1.54 src/sys/rump/librump/rumpkern/Makefile.rumpkern:1.55
--- src/sys/rump/librump/rumpkern/Makefile.rumpkern:1.54	Mon Oct 19 22:07:29 2009
+++ src/sys/rump/librump/rumpkern/Makefile.rumpkern	Tue Oct 20 10:42:41 2009
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.rumpkern,v 1.54 2009/10/19 22:07:29 christos Exp $
+#	$NetBSD: Makefile.rumpkern,v 1.55 2009/10/20 10:42:41 pooka Exp $
 #
 
 .include "${RUMPTOP}/Makefile.rump"
@@ -7,6 +7,7 @@
 
 .PATH:	${RUMPTOP}/librump/rumpkern				\
 	${RUMPTOP}/../kern					\
+	${RUMPTOP}/../uvm					\
 	${RUMPTOP}/../conf					\
 	${RUMPTOP}/../dev					\
 	${RUMPTOP}/../secmodel/suser
@@ -42,6 +43,9 @@
 	subr_log.c subr_once.c subr_prf.c subr_specificdata.c		\
 	subr_time.c subr_workqueue.c
 
+# sys/uvm
+SRCS+=	uvm_readahead.c
+
 # 4.4BSD secmodel.  selection is hardcoded for now
 SRCS+=	secmodel_suser.c
 

Index: src/sys/rump/librump/rumpkern/rump.c
diff -u src/sys/rump/librump/rumpkern/rump.c:1.127 src/sys/rump/librump/rumpkern/rump.c:1.128
--- src/sys/rump/librump/rumpkern/rump.c:1.127	Mon Oct 19 22:35:11 2009
+++ src/sys/rump/librump/rumpkern/rump.c	Tue Oct 20 10:42:41 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: rump.c,v 1.127 2009/10/19 22:35:11 pooka Exp $	*/
+/*	$NetBSD: rump.c,v 1.128 2009/10/20 10:42:41 pooka Exp $	*/
 
 /*
  * Copyright (c) 2007 Antti Kantee.  All Rights Reserved.
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.127 2009/10/19 22:35:11 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.128 2009/10/20 10:42:41 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -125,7 +125,6 @@
 
 __weak_alias(biodone,rump__unavailable);
 __weak_alias(sopoll,rump__unavailable);
-__weak_alias(uvm_readahead,rump__unavailable);
 
 void rump__unavailable_vfs_panic(void);
 void rump__unavailable_vfs_panic() {panic("vfs component not available");}

Index: src/sys/rump/librump/rumpvfs/Makefile.rumpvfs
diff -u src/sys/rump/librump/rumpvfs/Makefile.rumpvfs:1.17 src/sys/rump/librump/rumpvfs/Makefile.rumpvfs:1.18
--- src/sys/rump/librump/rumpvfs/Makefile.rumpvfs:1.17	Wed Oct 14 17:29:20 2009
+++ src/sys/rump/librump/rumpvfs/Makefile.rumpvfs	Tue Oct 20 10:42:41 2009
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.rumpvfs,v 1.17 2009/10/14 17:29:20 pooka Exp $
+#	$NetBSD: Makefile.rumpvfs,v 1.18 2009/10/20 10:42:41 pooka Exp $
 #
 
 .include "${RUMPTOP}/Makefile.rump"
@@ -30,7 +30,7 @@
 	vfs_syscalls.c vfs_vnops.c vfs_wapbl.c vfs_xattr.c
 
 # sys/uvm
-SRCS+=	uvm_readahead.c uvm_vnode.c
+SRCS+=	uvm_vnode.c
 
 # sys/miscfs/syncfs
 SRCS+=	sync_subr.c sync_vnops.c

Reply via email to