From: Heiko Carstens Date: Mon, 23 May 2011 08:24:33 +0000 (+0200) Subject: [S390] smp: add __noreturn attribute to cpu_die() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b456d94a9757db54eca4677c1b3a13e7170c9bb3;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git [S390] smp: add __noreturn attribute to cpu_die() Add missing __noreturn attribute to cpu_die(): arch/s390/kernel/smp.c:691:6: error: symbol 'cpu_die' redeclared with different type Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/kernel/smp.c b/arch/s390/kernel/smp.c index 63c7d9ff220d..2310f07aaadb 100644 --- a/arch/s390/kernel/smp.c +++ b/arch/s390/kernel/smp.c @@ -681,7 +681,7 @@ void __cpu_die(unsigned int cpu) atomic_dec(&init_mm.context.attach_count); } -void cpu_die(void) +void __noreturn cpu_die(void) { idle_task_exit(); while (sigp(smp_processor_id(), sigp_stop) == sigp_busy)