[SPARC64]: Report mondo error correctly in hypervisor_xcall_deliver().
authorDavid S. Miller <davem@sunset.davemloft.net>
Sun, 26 Feb 2006 22:51:29 +0000 (14:51 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 20 Mar 2006 09:14:04 +0000 (01:14 -0800)
It's in "arg0" not "func".

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/smp.c

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