Use uvm_readahead.c instead of null stubs.

This commit is contained in:
pooka 2009-10-07 10:23:50 +00:00
parent 2038fbfec8
commit 366ae82927
2 changed files with 4 additions and 26 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.rumpvfs,v 1.15 2009/10/07 09:24:27 pooka Exp $
# $NetBSD: Makefile.rumpvfs,v 1.16 2009/10/07 10:23:50 pooka Exp $
#
.include "${RUMPTOP}/Makefile.rump"
@ -28,7 +28,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_vnode.c
SRCS+= uvm_readahead.c uvm_vnode.c
# sys/miscfs/syncfs
SRCS+= sync_subr.c sync_vnops.c

View File

@ -1,4 +1,4 @@
/* $NetBSD: vm_vfs.c,v 1.11 2009/10/05 09:11:29 pooka Exp $ */
/* $NetBSD: vm_vfs.c,v 1.12 2009/10/07 10:23:50 pooka Exp $ */
/*
* Copyright (c) 2008 Antti Kantee. All Rights Reserved.
@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: vm_vfs.c,v 1.11 2009/10/05 09:11:29 pooka Exp $");
__KERNEL_RCSID(0, "$NetBSD: vm_vfs.c,v 1.12 2009/10/07 10:23:50 pooka Exp $");
#include <sys/param.h>
@ -79,28 +79,6 @@ uvm_aio_biodone(struct buf *bp)
uvm_aio_aiodone(bp);
}
struct uvm_ractx *
uvm_ra_allocctx(void)
{
return NULL;
}
void
uvm_ra_request(struct uvm_ractx *ra, int advice, struct uvm_object *uobj,
off_t reqoff, size_t reqsize)
{
return;
}
void
uvm_ra_freectx(struct uvm_ractx *ra)
{
return;
}
/*
* UBC
*/