X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=kernel%2Fcpu.c;h=3046a503242c8eb67f031d445713a9e55c986e73;hb=b2e902f024fa6f6f27b335c478d81bab0cb2c768;hp=f45657f1eb8ee3bb2ae084f5ebc4f22d80675eba;hpb=cff2f741b8ee8a70b208830e330de053efd4fc45;p=linux-2.6-microblaze.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; }