From 210d832bd23475d819321da7f0b6b3278dc0d17d Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Mon, 20 Nov 2023 08:24:14 +0000
Subject: [PATCH] enable gmac0
---
kernel/kernel/rcu/rcutorture.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/kernel/kernel/rcu/rcutorture.c b/kernel/kernel/rcu/rcutorture.c
index 0b7af7e..e95d121 100644
--- a/kernel/kernel/rcu/rcutorture.c
+++ b/kernel/kernel/rcu/rcutorture.c
@@ -434,6 +434,7 @@
.name = "rcu"
};
+#ifndef CONFIG_PREEMPT_RT_FULL
/*
* Definitions for rcu_bh torture testing.
*/
@@ -475,6 +476,12 @@
.name = "rcu_bh"
};
+#else
+static struct rcu_torture_ops rcu_bh_ops = {
+ .ttype = INVALID_RCU_FLAVOR,
+};
+#endif
+
/*
* Don't even think about trying any of these in real life!!!
* The names includes "busted", and they really means it!
--
Gitblit v1.6.2