[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200419015754.24456-3-sashal@kernel.org>
Date: Sat, 18 Apr 2020 21:57:44 -0400
From: Sasha Levin <sashal@...nel.org>
To: mingo@...nel.org, peterz@...radead.org
Cc: linux-kernel@...r.kernel.org, tglx@...utronix.de, jolsa@...hat.com,
alexey.budankov@...ux.intel.com, songliubraving@...com,
acme@...hat.com, allison@...utok.net,
Sasha Levin <sashal@...nel.org>
Subject: [PATCH v2 02/12] tools headers: Add rcupdate.h header
This is now needed by liblockdep as a result of a0b0fd53e1e6
("locking/lockdep: Free lock classes that are no longer in use").
Signed-off-by: Sasha Levin <sashal@...nel.org>
---
tools/include/linux/rcupdate.h | 12 ++++++++++++
1 file changed, 12 insertions(+)
create mode 100644 tools/include/linux/rcupdate.h
diff --git a/tools/include/linux/rcupdate.h b/tools/include/linux/rcupdate.h
new file mode 100644
index 0000000000000..1b7abc86f4336
--- /dev/null
+++ b/tools/include/linux/rcupdate.h
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef _LIBLOCKDEP_RCUPDATE_H_
+#define _LIBLOCKDEP_RCUPDATE_H_
+
+#define call_rcu(x, y)
+#define init_rcu_head(x)
+
+struct rcu_head {
+ char dummy;
+};
+
+#endif
--
2.20.1
Powered by blists - more mailing lists