瀏覽代碼

[SPARC64]: Report mondo error correctly in hypervisor_xcall_deliver().

It's in "arg0" not "func".

Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller 19 年之前
父節點
當前提交
6cc80cfab8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/sparc64/kernel/smp.c

+ 1 - 1
arch/sparc64/kernel/smp.c

@@ -617,7 +617,7 @@ static void hypervisor_xcall_deliver(u64 data0, u64 data1, u64 data2, cpumask_t
 
 
 		if (unlikely(++retries > 100)) {
 		if (unlikely(++retries > 100)) {
 			printk("CPU[%d]: sun4v mondo error %lu\n",
 			printk("CPU[%d]: sun4v mondo error %lu\n",
-			       this_cpu, func);
+			       this_cpu, arg0);
 			break;
 			break;
 		}
 		}