Skip to content

Commit

Permalink
rcu: Fix mismatched variable in rcutree_trace.c
Browse files Browse the repository at this point in the history
rcutree.c defines rcu_cpu_kthread_cpu as int, not unsigned int,
so the extern has to follow that.

Signed-off-by: Andi Kleen <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
  • Loading branch information
Andi Kleen authored and paulmck committed Sep 29, 2011
1 parent 63cd758 commit f039d1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/rcutree_trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
#ifdef CONFIG_RCU_BOOST

DECLARE_PER_CPU(unsigned int, rcu_cpu_kthread_status);
DECLARE_PER_CPU(unsigned int, rcu_cpu_kthread_cpu);
DECLARE_PER_CPU(int, rcu_cpu_kthread_cpu);
DECLARE_PER_CPU(unsigned int, rcu_cpu_kthread_loops);
DECLARE_PER_CPU(char, rcu_cpu_has_work);

Expand Down

0 comments on commit f039d1f

Please sign in to comment.