From 699ff13f10b75ea929eea6f6fe47ba9cc8f92ca2 Mon Sep 17 00:00:00 2001 From: Michael Ryan Date: Fri, 24 Mar 2006 03:15:17 -0800 Subject: [PATCH] s390: cpu up retries Retry starting of new cpu if sigp restart returns condition code 2 (busy). Signed-off-by: Michael Ryan Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- arch/s390/kernel/smp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/s390/kernel/smp.c b/arch/s390/kernel/smp.c index d52d6d211d9f..2b8841f85534 100644 --- a/arch/s390/kernel/smp.c +++ b/arch/s390/kernel/smp.c @@ -665,7 +665,9 @@ __cpu_up(unsigned int cpu) cpu_lowcore->current_task = (unsigned long) idle; cpu_lowcore->cpu_data.cpu_nr = cpu; eieio(); - signal_processor(cpu,sigp_restart); + + while (signal_processor(cpu,sigp_restart) == sigp_busy) + udelay(10); while (!cpu_online(cpu)) cpu_relax(); -- cgit v1.2.3-59-g8ed1b