summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kernel/rcu/srcu.c7
-rw-r--r--kernel/rcu/srcutree.c7
2 files changed, 14 insertions, 0 deletions
diff --git a/kernel/rcu/srcu.c b/kernel/rcu/srcu.c
index dea03614263f..4e3f558409a0 100644
--- a/kernel/rcu/srcu.c
+++ b/kernel/rcu/srcu.c
@@ -659,3 +659,10 @@ void process_srcu(struct work_struct *work)
srcu_reschedule(sp);
}
EXPORT_SYMBOL_GPL(process_srcu);
+
+static int __init srcu_bootup_announce(void)
+{
+ pr_info("Classic SRCU implementation.\n");
+ return 0;
+}
+early_initcall(srcu_bootup_announce);
diff --git a/kernel/rcu/srcutree.c b/kernel/rcu/srcutree.c
index fceca84df6b0..03d57fe9f094 100644
--- a/kernel/rcu/srcutree.c
+++ b/kernel/rcu/srcutree.c
@@ -1167,3 +1167,10 @@ void srcutorture_get_gp_data(enum rcutorture_type test_type,
*gpnum = rcu_seq_ctr(sp->srcu_gp_seq_needed);
}
EXPORT_SYMBOL_GPL(srcutorture_get_gp_data);
+
+static int __init srcu_bootup_announce(void)
+{
+ pr_info("Hierarchical SRCU implementation.\n");
+ return 0;
+}
+early_initcall(srcu_bootup_announce);