Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/common/linux linux/rcupdate: Stub init_rcu_...
details: https://anonhg.NetBSD.org/src/rev/4dd8885ffae8
branches: trunk
changeset: 1028619:4dd8885ffae8
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 11:31:04 2021 +0000
description:
linux/rcupdate: Stub init_rcu_head, destroy_rcu_head.
diffstat:
sys/external/bsd/common/include/linux/rcupdate.h | 7 ++++++-
sys/external/bsd/common/linux/linux_rcu.c | 14 ++++++++++++--
2 files changed, 18 insertions(+), 3 deletions(-)
diffs (62 lines):
diff -r 1d246955c2f9 -r 4dd8885ffae8 sys/external/bsd/common/include/linux/rcupdate.h
--- a/sys/external/bsd/common/include/linux/rcupdate.h Sun Dec 19 11:30:56 2021 +0000
+++ b/sys/external/bsd/common/include/linux/rcupdate.h Sun Dec 19 11:31:04 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rcupdate.h,v 1.4 2021/12/19 10:47:19 riastradh Exp $ */
+/* $NetBSD: rcupdate.h,v 1.5 2021/12/19 11:31:04 riastradh Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -67,12 +67,17 @@
#define _kfree_rcu linux__kfree_rcu
#define call_rcu linux_call_rcu
+#define destroy_rcu_head linux_destroy_rcu_head
+#define init_rcu_head linux_init_rcu_head
#define rcu_barrier linux_rcu_barrier
#define synchronize_rcu linux_synchronize_rcu
int linux_rcu_gc_init(void);
void linux_rcu_gc_fini(void);
+void init_rcu_head(struct rcu_head *);
+void destroy_rcu_head(struct rcu_head *);
+
void call_rcu(struct rcu_head *, void (*)(struct rcu_head *));
void rcu_barrier(void);
void synchronize_rcu(void);
diff -r 1d246955c2f9 -r 4dd8885ffae8 sys/external/bsd/common/linux/linux_rcu.c
--- a/sys/external/bsd/common/linux/linux_rcu.c Sun Dec 19 11:30:56 2021 +0000
+++ b/sys/external/bsd/common/linux/linux_rcu.c Sun Dec 19 11:31:04 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_rcu.c,v 1.1 2021/12/19 01:33:17 riastradh Exp $ */
+/* $NetBSD: linux_rcu.c,v 1.2 2021/12/19 11:31:04 riastradh Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_rcu.c,v 1.1 2021/12/19 01:33:17 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_rcu.c,v 1.2 2021/12/19 11:31:04 riastradh Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -237,6 +237,16 @@
kthread_exit(0);
}
+void
+init_rcu_head(struct rcu_head *head)
+{
+}
+
+void
+destroy_rcu_head(struct rcu_head *head)
+{
+}
+
int
linux_rcu_gc_init(void)
{
Home |
Main Index |
Thread Index |
Old Index