X-Git-Url: https://git.stricted.de/?a=blobdiff_plain;f=kernel%2Fcpu.c;h=3046a503242c8eb67f031d445713a9e55c986e73;hb=193c0d682525987db59ac3a24531a77e4947aa95;hp=f45657f1eb8ee3bb2ae084f5ebc4f22d80675eba;hpb=64adb0192ff309051492b34139bb842024ebb119;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git diff --git a/kernel/cpu.c b/kernel/cpu.c index f45657f1eb8e..3046a503242c 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c @@ -603,6 +603,11 @@ cpu_hotplug_pm_callback(struct notifier_block *nb, static int __init cpu_hotplug_pm_sync_init(void) { + /* + * cpu_hotplug_pm_callback has higher priority than x86 + * bsp_pm_callback which depends on cpu_hotplug_pm_callback + * to disable cpu hotplug to avoid cpu hotplug race. + */ pm_notifier(cpu_hotplug_pm_callback, 0); return 0; }