cpu/hotplug: Allow the CPU in CPU_UP_PREPARE state to be brought up again.
[linux-2.6-microblaze.git] / kernel / smpboot.c
index f6bc0bc..b9f5454 100644 (file)
@@ -392,6 +392,13 @@ int cpu_check_up_prepare(int cpu)
                 */
                return -EAGAIN;
 
+       case CPU_UP_PREPARE:
+               /*
+                * Timeout while waiting for the CPU to show up. Allow to try
+                * again later.
+                */
+               return 0;
+
        default:
 
                /* Should not happen.  Famous last words. */