Skip to content

Commit f6105fc

Browse files
committed
rcu: Remove unused stop-machine #include
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 <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
1 parent c7e9c01 commit f6105fc

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

kernel/rcu/tree.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
#include <uapi/linux/sched/types.h>
4444
#include <linux/prefetch.h>
4545
#include <linux/delay.h>
46-
#include <linux/stop_machine.h>
4746
#include <linux/random.h>
4847
#include <linux/trace_events.h>
4948
#include <linux/suspend.h>

kernel/rcu/tree.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
#include <linux/cpumask.h>
1717
#include <linux/seqlock.h>
1818
#include <linux/swait.h>
19-
#include <linux/stop_machine.h>
2019
#include <linux/rcu_node_tree.h>
2120

2221
#include "rcu_segcblist.h"

0 commit comments

Comments
 (0)