]> git.baikalelectronics.ru Git - kernel.git/commit
CPU/hotplug: Clarify description of __cpuhp_setup_state() return value
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>
Thu, 15 Dec 2016 15:00:57 +0000 (10:00 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 21 Dec 2016 01:52:51 +0000 (02:52 +0100)
commite9dc129a658594b8d091c7ee09309ca217a9b884
tree7ed12eaa0176365ca467e6364698b4c0b31d8508
parente62f9520d12a12fabaac7a4924189547f0cbdbc1
CPU/hotplug: Clarify description of __cpuhp_setup_state() return value

When ivoked with CPUHP_AP_ONLINE_DYN state __cpuhp_setup_state()
is expected to return positive value which is the hotplug state that
the routine assigns.

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
kernel/cpu.c