diff options
author | Fenghua Yu | 2012-11-13 11:32:43 -0800 |
---|---|---|
committer | H. Peter Anvin | 2012-11-14 09:39:50 -0800 |
commit | 6e32d479db6079dd5d4309aa66aecbcf2664a5fe (patch) | |
tree | 03ba72e475b2c640dc535b873d9c10cbf76e43f5 /arch/x86/kernel/head_64.S | |
parent | 209efae12981f3d2d694499b761def10895c078c (diff) |
kernel/cpu.c: Add comment for priority in cpu_hotplug_pm_callback
cpu_hotplug_pm_callback should have higher priority than
bsp_pm_callback which depends on cpu_hotplug_pm_callback to disable cpu hotplug
to avoid race during bsp online checking.
This is to hightlight the priorities between the two callbacks in case people
may overlook the order.
Ideally the priorities should be defined in macro/enum instead of fixed values.
To do that, a seperate patchset may be pushed which will touch serveral other
generic files and is out of scope of this patchset.
Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Link: http://lkml.kernel.org/r/1352835171-3958-7-git-send-email-fenghua.yu@intel.com
Reviewed-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/kernel/head_64.S')
0 files changed, 0 insertions, 0 deletions