rcu: Drop the private tick-internal.h include from tree.c
PATCH 1/1 rcu: Drop the private tick-internal.h include from tree.c
Nothing in the tree.c translation unit uses anything from the private timekeeping header ../time/tick-internal.h, included since commit 48d07c04b4cc ("rcu: Enable elimination of Tree-RCU softirq processing"). The tick symbols RCU uses, tick_dep_set(), tick_dep_clear(), their _cpu and _task variants, tick_nohz_full_cpu() and TICK_DEP_BIT_RCU, are all declared in the public linux/tick.h, which tree.c already includes.
Drop the include.
--- kernel/rcu/tree.c | 1 - 1 file changed, 1 deletion(-)
kernel/rcu/tree.c +0 -1
@@ -64,7 +64,6 @@#include <linux/mm.h> #include <linux/kasan.h> #include <linux/context_tracking.h> -#include "../time/tick-internal.h" #include "tree.h" #include "rcu.h"
Signature · 1 line
2.47.3
Paul E. McKenney
maintainerQuoted 9 lines · Bradley Morgan
Nothing in the
tree.ctranslation unit uses anything from the private timekeeping header../time/tick-internal.h, included since commit48d07c04b4cc("rcu: Enable elimination of Tree-RCU softirq processing"). The tick symbols RCU uses,tick_dep_set(),tick_dep_clear(), their_cpuand_taskvariants,tick_nohz_full_cpu()andTICK_DEP_BIT_RCU, are all declared in the publiclinux/tick.h, whichtree.calready includes.
Quoted 3 lines
Drop the include.
Signed-off-by Bradley Morgan <[email protected]>
Applied for testing and additional review, thank you!
Thanx, Paul
Quoted 18 lines
--- kernel/rcu/tree.c | 1 - 1 file changed, 1 deletion(-)kernel/rcu/tree.c +0
-1@@ -64,7 +64,6 @@#include <linux/mm.h> #include <linux/kasan.h> #include <linux/context_tracking.h> -#include "../time/tick-internal.h" #include "tree.h" #include "rcu.h" Signature · 1 line
2.47.3