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.
This commit is contained in:
pooka 2009-10-20 10:42:41 +00:00
parent d3e9e93ad6
commit 0d29473b2c
3 changed files with 9 additions and 6 deletions

View File

@ -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 @@ LIB= rump
.PATH: ${RUMPTOP}/librump/rumpkern \
${RUMPTOP}/../kern \
${RUMPTOP}/../uvm \
${RUMPTOP}/../conf \
${RUMPTOP}/../dev \
${RUMPTOP}/../secmodel/suser
@ -42,6 +43,9 @@ SRCS+= subr_devsw.c subr_callback.c subr_evcnt.c subr_extent.c \
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

View File

@ -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(rump_vfs_fini,rump__unavailable);
__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");}

View File

@ -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 @@ SRCS+= vfs_bio.c vfs_cache.c vfs_cwd.c vfs_dirhash.c vfs_getcwd.c \
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