Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/librump/rumpdev rumpdev: Catch up to buf_syncwait -...
details: https://anonhg.NetBSD.org/src/rev/c4279e2f5fa8
branches: trunk
changeset: 374446:c4279e2f5fa8
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Apr 23 07:03:30 2023 +0000
description:
rumpdev: Catch up to buf_syncwait -> vfs_syncwait rename.
Do similarly with a do_sys_sync weak stub so we can drop the rumpvfs
dependency.
diffstat:
sys/rump/librump/rumpdev/rump_dev.c | 22 +++++++++++++++++-----
1 files changed, 17 insertions(+), 5 deletions(-)
diffs (43 lines):
diff -r d01127326218 -r c4279e2f5fa8 sys/rump/librump/rumpdev/rump_dev.c
--- a/sys/rump/librump/rumpdev/rump_dev.c Sun Apr 23 06:57:59 2023 +0000
+++ b/sys/rump/librump/rumpdev/rump_dev.c Sun Apr 23 07:03:30 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_dev.c,v 1.28 2020/02/23 01:53:03 jdolecek Exp $ */
+/* $NetBSD: rump_dev.c,v 1.29 2023/04/23 07:03:30 riastradh Exp $ */
/*
* Copyright (c) 2009 Antti Kantee. All Rights Reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump_dev.c,v 1.28 2020/02/23 01:53:03 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_dev.c,v 1.29 2023/04/23 07:03:30 riastradh Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -34,9 +34,21 @@
#include <rump-sys/kern.h>
#include <rump-sys/dev.h>
-int nocomponent(void);
-int nocomponent() {return 0;}
-__weak_alias(buf_syncwait,nocomponent);
+int rumpdev_do_sys_sync_stub(struct lwp *);
+int
+rumpdev_do_sys_sync_stub(struct lwp *l)
+{
+ return 0;
+}
+__weak_alias(do_sys_sync,rumpdev_do_sys_sync_stub);
+
+int rumpdev_vfs_syncwait_stub(void);
+int
+rumpdev_vfs_syncwait_stub(void)
+{
+ return 0;
+}
+__weak_alias(vfs_syncwait,rumpdev_vfs_syncwait_stub);
const char *rootspec = "rump0a"; /* usually comes from config */
Home |
Main Index |
Thread Index |
Old Index