[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 <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
4c2241fd42
commit
b456d94a97
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue