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 rumpkern: Provide stub uvm_vnodeop...
details: https://anonhg.NetBSD.org/src/rev/18cb7a1ef60a
branches: trunk
changeset: 374417:18cb7a1ef60a
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sat Apr 22 13:53:37 2023 +0000
description:
rumpkern: Provide stub uvm_vnodeops weak alias.
Needed for UVM_OBJ_IS_VNODE, but not for anything else in rumpkern
without rumpvfs.
diffstat:
sys/rump/librump/rumpkern/vm.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r e591a811d530 -r 18cb7a1ef60a sys/rump/librump/rumpkern/vm.c
--- a/sys/rump/librump/rumpkern/vm.c Sat Apr 22 13:53:29 2023 +0000
+++ b/sys/rump/librump/rumpkern/vm.c Sat Apr 22 13:53:37 2023 +0000
@@ -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.
*/
Home |
Main Index |
Thread Index |
Old Index