projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c2241f
)
[S390] smp: add __noreturn attribute to cpu_die()
author
Heiko Carstens
<heiko.carstens@de.ibm.com>
Mon, 23 May 2011 08:24:33 +0000
(10:24 +0200)
committer
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Mon, 23 May 2011 08:24:29 +0000
(10:24 +0200)
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>
arch/s390/kernel/smp.c
patch
|
blob
|
history
diff --git
a/arch/s390/kernel/smp.c
b/arch/s390/kernel/smp.c
index 63c7d9ff220d1545dea5d3cded8e96a3216af3aa..2310f07aaadb5c4e160d63aca30cab977b779c67 100644
(file)
--- 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)