Message ID | 20220209080214.1439408-3-bigeasy@linutronix.de (mailing list archive) |
---|---|
State | Accepted |
Commit | c7dfb2591b23856182e2c9da6b1d526ef7fd6b2e |
Headers | show |
Series | cpu/hotplug: Allow the CPU in CPU_UP_PREPARE state to be brought up again. | expand |
diff --git a/kernel/smpboot.c b/kernel/smpboot.c index f6bc0bc8a2aab..b9f54544e7499 100644 --- a/kernel/smpboot.c +++ b/kernel/smpboot.c @@ -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. */