Commit 95394e69 authored by Paul E. McKenney's avatar Paul E. McKenney

rcu: Remove "inline" from panic_on_rcu_stall() and rcu_blocking_is_gp()

These functions are in kernel/rcu/tree.c, which is not an include file,
so there is no problem dropping the "inline", especially given that these
functions are nowhere near a fastpath.  This commit therefore delegates
the inlining decision to the compiler by dropping the "inline".
Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
parent ab6b8214
...@@ -1342,7 +1342,7 @@ static void rcu_stall_kick_kthreads(struct rcu_state *rsp) ...@@ -1342,7 +1342,7 @@ static void rcu_stall_kick_kthreads(struct rcu_state *rsp)
} }
} }
static inline void panic_on_rcu_stall(void) static void panic_on_rcu_stall(void)
{ {
if (sysctl_panic_on_rcu_stall) if (sysctl_panic_on_rcu_stall)
panic("RCU Stall\n"); panic("RCU Stall\n");
...@@ -3080,7 +3080,7 @@ EXPORT_SYMBOL_GPL(kfree_call_rcu); ...@@ -3080,7 +3080,7 @@ EXPORT_SYMBOL_GPL(kfree_call_rcu);
* when there was in fact only one the whole time, as this just adds * when there was in fact only one the whole time, as this just adds
* some overhead: RCU still operates correctly. * some overhead: RCU still operates correctly.
*/ */
static inline int rcu_blocking_is_gp(void) static int rcu_blocking_is_gp(void)
{ {
int ret; int ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment