[SPARC64]: Fix mondo queue allocations.
[deliverable/linux.git] / arch / sparc64 / kernel / smp.c
index 7d7e02ba297e5682393ed8c9fbda90ccd5fa719e..d637168ce37dc4f700a1cba42d9c077b999f9916 100644 (file)
@@ -591,7 +591,7 @@ static void hypervisor_xcall_deliver(u64 data0, u64 data1, u64 data2, cpumask_t
                                       "2" (arg1), "3" (arg2),
                                       "i" (HV_FAST_TRAP)
                                     : "memory");
-               if (likely(func == HV_EOK))
+               if (likely(arg0 == HV_EOK))
                        break;
 
                if (unlikely(++retries > 100)) {
@@ -644,7 +644,7 @@ static void hypervisor_xcall_deliver(u64 data0, u64 data1, u64 data2, cpumask_t
                                               "2" (arg1), "3" (arg2),
                                               "i" (HV_FAST_TRAP)
                                             : "memory");
-                       if (likely(func == HV_EOK))
+                       if (likely(arg0 == HV_EOK))
                                break;
 
                        if (unlikely(++retries > 100)) {
This page took 0.026906 seconds and 5 git commands to generate.