on_each_cpu(): kill unused 'retry' parameter
[firefly-linux-kernel-4.4.55.git] / arch / powerpc / kernel / rtas.c
index eb3beea4536ea9f4799201d9ba9f95c2a5ecd1bb..647f3e8677dc4171d7c21292cc382b00bf8fd923 100644 (file)
@@ -27,7 +27,6 @@
 #include <asm/prom.h>
 #include <asm/rtas.h>
 #include <asm/hvcall.h>
-#include <asm/semaphore.h>
 #include <asm/machdep.h>
 #include <asm/firmware.h>
 #include <asm/page.h>
@@ -748,7 +747,7 @@ static int rtas_ibm_suspend_me(struct rtas_args *args)
        /* Call function on all CPUs.  One of us will make the
         * rtas call
         */
-       if (on_each_cpu(rtas_percpu_suspend_me, &data, 1, 0))
+       if (on_each_cpu(rtas_percpu_suspend_me, &data, 0))
                data.error = -EINVAL;
 
        wait_for_completion(&done);