diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2007-05-09 09:34:04 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-09 19:30:51 (GMT) |
commit | e7407dcc69e077ac34a527842db916abfbc458df (patch) | |
tree | 138b24bceee828dc256bb81f2b592926be9f1515 /kernel/exit.c | |
parent | 5be9361cdff17fc76fa0c3e262ead94158555f16 (diff) | |
download | linux-fsl-qoriq-e7407dcc69e077ac34a527842db916abfbc458df.tar.xz |
call cpu_chain with CPU_DOWN_FAILED if CPU_DOWN_PREPARE failed
This makes cpu hotplug symmetrical: if CPU_UP_PREPARE fails we get
CPU_UP_CANCELED, so we can undo what ever happened on PREPARE. The same
should happen for CPU_DOWN_PREPARE.
[akpm@linux-foundation.org: fix for reduce-size-of-task_struct-on-64-bit-machines]
Cc: Srivatsa Vaddagiri <vatsa@in.ibm.com>
Cc: Gautham Shenoy <ego@in.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/exit.c')
0 files changed, 0 insertions, 0 deletions