mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 13:22:23 +00:00
bbb92284b6
The CPU hotplug code will need to call into PMSU functions to enter and exit from deep idle states. However, the deep idle state is currently entered by a function called do_armada_370_xp_cpu_suspend() whose name really suggests it's an internal function, but we need to export it to other files in mach-mvebu. Therefore, this commit: * Merges the code of do_armada_370_xp_cpu_suspend() into armada_370_xp_pmsu_idle_prepare(), into a single function called armada_370_xp_pmsu_idle_enter(), which prepares the PMSU for deep idle, and then enters the deep idle state. This code will be common to both cpuidle and CPU hotplug. * For symetry, it renames the armada_370_xp_pmsu_idle_restore() function to armada_370_xp_pmsu_idle_exit(). We also remove the 'noinline' qualifier for these functions, which apparently had no reason to be here. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Link: https://lkml.kernel.org/r/1401481098-23326-3-git-send-email-thomas.petazzoni@free-electrons.com Signed-off-by: Jason Cooper <jason@lakedaemon.net> |
||
---|---|---|
.. | ||
include/mach | ||
armada-370-xp.h | ||
board-v7.c | ||
board.h | ||
coherency_ll.S | ||
coherency.c | ||
coherency.h | ||
common.h | ||
cpu-reset.c | ||
dove.c | ||
headsmp-a9.S | ||
headsmp.S | ||
hotplug.c | ||
Kconfig | ||
kirkwood-pm.c | ||
kirkwood-pm.h | ||
kirkwood.c | ||
kirkwood.h | ||
Makefile | ||
mvebu-soc-id.c | ||
mvebu-soc-id.h | ||
netxbig.c | ||
platsmp-a9.c | ||
platsmp.c | ||
pmsu.c | ||
pmsu.h | ||
system-controller.c |