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 Add a few weak symbols for places ...



details:   https://anonhg.NetBSD.org/src/rev/5ab9e9114284
branches:  trunk
changeset: 747293:5ab9e9114284
user:      pooka <pooka%NetBSD.org@localhost>
date:      Tue Sep 08 20:10:44 2009 +0000

description:
Add a few weak symbols for places where the kernel module boundaries
are not as perfect as theory.

diffstat:

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

diffs (34 lines):

diff -r c9cd78715d3c -r 5ab9e9114284 sys/rump/librump/rumpkern/rump.c
--- a/sys/rump/librump/rumpkern/rump.c  Tue Sep 08 20:07:35 2009 +0000
+++ b/sys/rump/librump/rumpkern/rump.c  Tue Sep 08 20:10:44 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rump.c,v 1.112 2009/09/06 20:54:19 pooka Exp $ */
+/*     $NetBSD: rump.c,v 1.113 2009/09/08 20:10:44 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.112 2009/09/06 20:54:19 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.113 2009/09/08 20:10:44 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -119,11 +119,15 @@
 __weak_alias(rump_vfs_init,rump__unavailable);
 __weak_alias(rump_dev_init,rump__unavailable);
 
+__weak_alias(biodone,rump__unavailable);
+
 void rump__unavailable_vfs_panic(void);
 void rump__unavailable_vfs_panic() {panic("vfs component not available");}
 __weak_alias(vn_open,rump__unavailable_vfs_panic);
 __weak_alias(vn_rdwr,rump__unavailable_vfs_panic);
+__weak_alias(vn_stat,rump__unavailable_vfs_panic);
 __weak_alias(vn_close,rump__unavailable_vfs_panic);
+__weak_alias(namei,rump__unavailable_vfs_panic);
 
 static void
 pvfsinit_nop(struct proc *p)



Home | Main Index | Thread Index | Old Index