diff options
author | Chen Gang <gang.chen@asianux.com> | 2013-08-22 06:43:37 +0000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-08-29 14:37:59 +1000 |
commit | 9c823f9f7e4b392921d0d8b251bec080d58f9077 (patch) | |
tree | 2ec4cdd213f1268f088c706eadd3d95e911976d8 /kernel/sysctl.c | |
parent | a246968edcfcfe0503fa9bcd5a444e7a5b9986dc (diff) |
padata - share code between CPU_ONLINE and CPU_DOWN_FAILED, same to CPU_DOWN_PREPARE and CPU_UP_CANCELED
Share code between CPU_ONLINE and CPU_DOWN_FAILED, same to
CPU_DOWN_PREPARE and CPU_UP_CANCELED.
It will fix 2 bugs:
"not check the return value of __padata_remove_cpu() and __padata_add_cpu()".
"need add 'break' between CPU_UP_CANCELED and CPU_DOWN_FAILED".
Signed-off-by: Chen Gang <gang.chen@asianux.com>
Acked-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions