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

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

Log Message:
rumpkern: Provide stub uvm_vnodeops weak alias.

Needed for UVM_OBJ_IS_VNODE, but not for anything else in rumpkern
without rumpvfs.


To generate a diff of this commit:
cvs rdiff -u -r1.194 -r1.195 src/sys/rump/librump/rumpkern/vm.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/vm.c
diff -u src/sys/rump/librump/rumpkern/vm.c:1.194 src/sys/rump/librump/rumpkern/vm.c:1.195
--- src/sys/rump/librump/rumpkern/vm.c:1.194	Wed Oct 26 23:22:07 2022
+++ src/sys/rump/librump/rumpkern/vm.c	Sat Apr 22 13:53:37 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: vm.c,v 1.194 2022/10/26 23:22:07 riastradh Exp $	*/
+/*	$NetBSD: vm.c,v 1.195 2023/04/22 13:53:37 riastradh Exp $	*/
 
 /*
  * Copyright (c) 2007-2011 Antti Kantee.  All Rights Reserved.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vm.c,v 1.194 2022/10/26 23:22:07 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm.c,v 1.195 2023/04/22 13:53:37 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -163,6 +163,10 @@ pgdtor(void *arg, void *obj)
 
 static struct pool_cache pagecache;
 
+/* stub for UVM_OBJ_IS_VNODE */
+struct uvm_pagerops rump_uvm_vnodeops;
+__weak_alias(uvm_vnodeops,rump_uvm_vnodeops);
+
 /*
  * Called with the object locked.  We don't support anons.
  */

Reply via email to