Module Name:    src
Committed By:   riastradh
Date:           Sat Apr 22 13:53:44 UTC 2023

Modified Files:
        src/sys/rump/librump/rumpkern: emul.c

Log Message:
rumpkern: Provide stub pnbuf_cache weak alias.

Needed only by sys_module.c handle_modctl_load, which won't work if
there's no rumpvfs linked in anyway.


To generate a diff of this commit:
cvs rdiff -u -r1.198 -r1.199 src/sys/rump/librump/rumpkern/emul.c

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/emul.c
diff -u src/sys/rump/librump/rumpkern/emul.c:1.198 src/sys/rump/librump/rumpkern/emul.c:1.199
--- src/sys/rump/librump/rumpkern/emul.c:1.198	Sat Apr 22 13:53:29 2023
+++ src/sys/rump/librump/rumpkern/emul.c	Sat Apr 22 13:53:44 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: emul.c,v 1.198 2023/04/22 13:53:29 riastradh Exp $	*/
+/*	$NetBSD: emul.c,v 1.199 2023/04/22 13:53:44 riastradh Exp $	*/
 
 /*
  * Copyright (c) 2007-2011 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: emul.c,v 1.198 2023/04/22 13:53:29 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: emul.c,v 1.199 2023/04/22 13:53:44 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/cprng.h>
@@ -337,6 +337,9 @@ struct filterops rump_fs_filtops = {
 };
 __weak_alias(fs_filtops,rump_fs_filtops);
 
+struct pool_cache *rump_pnbuf_cache;
+__weak_alias(pnbuf_cache,rump_pnbuf_cache);
+
 /*
  * Provide weak aliases for tty routines used by printf.
  * They will be used unless the rumpkern_tty component is present.

Reply via email to