/* * On Spreadtrum platform, we need power off system through external SC27xx * series PMICs, and it is one similar SPI bus mapped by regmap to access PMIC, * which is not fast io access. * * So before stopping other cores, we need release other cores' resource by * taking cpus down to avoid racing regmap or spi mutex lock when poweroff * system through PMIC.
*/ staticvoid sc27xx_poweroff_shutdown(void)
{ #ifdef CONFIG_HOTPLUG_CPU int cpu;
for_each_online_cpu(cpu) { if (cpu != smp_processor_id())
remove_cpu(cpu);
} #endif
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.