]> git.baikalelectronics.ru Git - kernel.git/commit
stop_machine: convert cpu notifier to return encapsulate errno value
authorAkinobu Mita <akinobu.mita@gmail.com>
Tue, 26 Oct 2010 21:22:45 +0000 (14:22 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Oct 2010 23:52:15 +0000 (16:52 -0700)
commit99bd3411a9c419623ebb23328ad81911c04af79d
tree7803fc3f194969a736ae3a12b51e2cada7b98fbd
parent38ff66b43580bcfb74e47e3df9eac7910f3f586c
stop_machine: convert cpu notifier to return encapsulate errno value

In commit c88cfa7b06746ece7e7616ceecdec6f71bf567b0 ("cpu-hotplug: return
better errno on cpu hotplug failure"), the cpu notifier can return an
encapsulated errno value.

This converts the cpu notifier to return an encapsulated errno value for
stop_machine().

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/stop_machine.c