From: Andi Kleen Date: Tue, 7 Jun 2011 22:26:30 +0000 (-0700) Subject: rcu: Fix mismatched variable in rcutree_trace.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f039d1f1884b2fe9c13d28f59d8330f0b0518fc4;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Paul E. McKenney --- 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);