Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/rump/librump/rumpkern __weak_alias for uvm_readahead() s...



details:   https://anonhg.NetBSD.org/src/rev/399d0d117e39
branches:  trunk
changeset: 748299:399d0d117e39
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Oct 19 22:35:11 2009 +0000

description:
__weak_alias for uvm_readahead() since it's used also in sys_descrip.c

diffstat:

 sys/rump/librump/rumpkern/rump.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r f9f0bd386d4c -r 399d0d117e39 sys/rump/librump/rumpkern/rump.c
--- a/sys/rump/librump/rumpkern/rump.c  Mon Oct 19 22:31:47 2009 +0000
+++ b/sys/rump/librump/rumpkern/rump.c  Mon Oct 19 22:35:11 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rump.c,v 1.126 2009/10/16 00:14:53 pooka Exp $ */
+/*     $NetBSD: rump.c,v 1.127 2009/10/19 22:35:11 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.126 2009/10/16 00:14:53 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.127 2009/10/19 22:35:11 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -125,6 +125,7 @@
 
 __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");}



Home | Main Index | Thread Index | Old Index