瀏覽代碼

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>
Andi Kleen 14 年之前
父節點
當前提交
f039d1f188
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      kernel/rcutree_trace.c

+ 1 - 1
kernel/rcutree_trace.c

@@ -49,7 +49,7 @@
 #ifdef CONFIG_RCU_BOOST
 #ifdef CONFIG_RCU_BOOST
 
 
 DECLARE_PER_CPU(unsigned int, rcu_cpu_kthread_status);
 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(unsigned int, rcu_cpu_kthread_loops);
 DECLARE_PER_CPU(char, rcu_cpu_has_work);
 DECLARE_PER_CPU(char, rcu_cpu_has_work);