Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Andi Kleen and committed by
Paul E. McKenney
f039d1f1 63cd758e

+1 -1
+1 -1
kernel/rcutree_trace.c
··· 49 49 #ifdef CONFIG_RCU_BOOST 50 50 51 51 DECLARE_PER_CPU(unsigned int, rcu_cpu_kthread_status); 52 - DECLARE_PER_CPU(unsigned int, rcu_cpu_kthread_cpu); 52 + DECLARE_PER_CPU(int, rcu_cpu_kthread_cpu); 53 53 DECLARE_PER_CPU(unsigned int, rcu_cpu_kthread_loops); 54 54 DECLARE_PER_CPU(char, rcu_cpu_has_work); 55 55