Browse Source

rcu: Remove duplicate resched_cpu() declaration

Signed-off-by: Pranith Kumar <pranith@gatech.edu>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Pranith Kumar 11 năm trước cách đây
mục cha
commit
8c96ae1dfa
1 tập tin đã thay đổi với 0 bổ sung6 xóa
  1. 0 6
      kernel/rcu/tree.c

+ 0 - 6
kernel/rcu/tree.c

@@ -975,12 +975,6 @@ static void print_other_cpu_stall(struct rcu_state *rsp)
 	force_quiescent_state(rsp);  /* Kick them all. */
 }
 
-/*
- * This function really isn't for public consumption, but RCU is special in
- * that context switches can allow the state machine to make progress.
- */
-extern void resched_cpu(int cpu);
-
 static void print_cpu_stall(struct rcu_state *rsp)
 {
 	int cpu;