diff options
author | Andi Kleen <ak@linux.intel.com> | 2011-06-08 00:26:30 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2011-09-29 06:36:40 +0200 |
commit | f039d1f1884b2fe9c13d28f59d8330f0b0518fc4 (patch) | |
tree | d7c16969d73fd467e75f8d050b0b7bca35ceb9c5 /kernel/rcutree_trace.c | |
parent | rcu: Update rcutorture documentation (diff) | |
download | linux-f039d1f1884b2fe9c13d28f59d8330f0b0518fc4.tar.xz linux-f039d1f1884b2fe9c13d28f59d8330f0b0518fc4.zip |
rcu: Fix mismatched variable in rcutree_trace.c
rcutree.c defines rcu_cpu_kthread_cpu as int, not unsigned int,
so the extern has to follow that.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcutree_trace.c')
-rw-r--r-- | kernel/rcutree_trace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcutree_trace.c b/kernel/rcutree_trace.c index 3b0c0986afc0..0a5a8bedc522 100644 --- a/kernel/rcutree_trace.c +++ b/kernel/rcutree_trace.c @@ -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); |