]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
rcu: Remove unused stop-machine #include
authorPaul E. McKenney <paulmck@kernel.org>
Wed, 27 Nov 2019 19:36:07 +0000 (11:36 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Fri, 24 Jan 2020 18:33:52 +0000 (10:33 -0800)
Long ago, RCU used the stop-machine mechanism to implement expedited
grace periods, but no longer does so.  This commit therefore removes
the no-longer-needed #includes of linux/stop_machine.h.

Link: https://lwn.net/Articles/805317/
Reported-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/tree.c
kernel/rcu/tree.h

index d9507649848828bfe6a76295f7be362219adaa2c..878f62f218e905010818a3cb009a08906438fc64 100644 (file)
@@ -43,7 +43,6 @@
 #include <uapi/linux/sched/types.h>
 #include <linux/prefetch.h>
 #include <linux/delay.h>
-#include <linux/stop_machine.h>
 #include <linux/random.h>
 #include <linux/trace_events.h>
 #include <linux/suspend.h>
index 9d5986abfc67adf7de9aa2503d49b7d64acaf924..ce90c68c184b48457b55babc9863f33d265686c2 100644 (file)
@@ -16,7 +16,6 @@
 #include <linux/cpumask.h>
 #include <linux/seqlock.h>
 #include <linux/swait.h>
-#include <linux/stop_machine.h>
 #include <linux/rcu_node_tree.h>
 
 #include "rcu_segcblist.h"