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)
commit1358e038fac2628730842c817c7c156647166461
tree7ed12eaa0176365ca467e6364698b4c0b31d8508
parent2bf3b685a35c80fe368dad9da0e77ba48b460939
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