]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 15 Dec 2016 16:48:20 +0000 (17:48 +0100)
commit512f09801b356c54baef62543e51169f03b2e642
tree4c3c9cb01ccdbaf8825145ca90bd4b5856fabe14
parent9bf11ecce5a2758e5a097c2f3a13d08552d0d6f9
cpu/hotplug: Clarify description of __cpuhp_setup_state() return value

When invoked 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>
Cc: linux-pm@vger.kernel.org
Cc: viresh.kumar@linaro.org
Cc: bigeasy@linutronix.de
Cc: rjw@rjwysocki.net
Cc: xen-devel@lists.xenproject.org
Link: http://lkml.kernel.org/r/1481814058-4799-2-git-send-email-boris.ostrovsky@oracle.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/cpu.c