Commit dbe01350fa8ce0c11948ab7d6be71a4d901be151

Authored by Paul E. McKenney
Committed by Ingo Molnar
1 parent 9160306e6f

rcu: Remove inline from forward-referenced functions

Some variants of gcc are reputed to dislike forward references
to functions declared "inline".  Remove the "inline" keyword
from such functions.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: laijs@cn.fujitsu.com
Cc: dipankar@in.ibm.com
Cc: mathieu.desnoyers@polymtl.ca
Cc: josh@joshtriplett.org
Cc: dvhltc@us.ibm.com
Cc: niv@us.ibm.com
Cc: peterz@infradead.org
Cc: rostedt@goodmis.org
Cc: Valdis.Kletnieks@vt.edu
Cc: dhowells@redhat.com
LKML-Reference: <12578890422402-git-send-email->
Signed-off-by: Ingo Molnar <mingo@elte.hu>

Showing 2 changed files with 3 additions and 3 deletions Side-by-side Diff

... ... @@ -301,7 +301,7 @@
301 301 #else /* #ifdef RCU_TREE_NONCORE */
302 302  
303 303 /* Forward declarations for rcutree_plugin.h */
304   -static inline void rcu_bootup_announce(void);
  304 +static void rcu_bootup_announce(void);
305 305 long rcu_batches_completed(void);
306 306 static void rcu_preempt_note_context_switch(int cpu);
307 307 static int rcu_preempted_readers(struct rcu_node *rnp);
kernel/rcutree_plugin.h
... ... @@ -33,7 +33,7 @@
33 33 /*
34 34 * Tell them what RCU they are running.
35 35 */
36   -static inline void rcu_bootup_announce(void)
  36 +static void rcu_bootup_announce(void)
37 37 {
38 38 printk(KERN_INFO
39 39 "Experimental preemptable hierarchical RCU implementation.\n");
... ... @@ -481,7 +481,7 @@
481 481 /*
482 482 * Tell them what RCU they are running.
483 483 */
484   -static inline void rcu_bootup_announce(void)
  484 +static void rcu_bootup_announce(void)
485 485 {
486 486 printk(KERN_INFO "Hierarchical RCU implementation.\n");
487 487 }