Commit 02ac822b authored by Ingo Molnar's avatar Ingo Molnar Committed by Treehugger Robot
Browse files

BACKPORT: rcu: Remove __read_mostly annotations from rcu_scheduler_active externs



Remove the __read_mostly attributes from the rcu_scheduler_active
extern declarations, because these attributes are ignored for
prototypes and we'd have to include the full <linux/cache.h> header
to gain this functionally pointless attribute defined.

Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>

Fixes: 273bbfc4 ("BACKPORT: printk: stop including cache.h from printk.h")
(cherry picked from commit e6339d3b)
Change-Id: I99290b2608f5374fb818697a244f09c93400ad9c
Signed-off-by: default avatarElliot Berman <quic_eberman@quicinc.com>
parent 4baff5cb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment