OSDN Git Service

cpu/hotplug: Provide bringup_hibernate_cpu()
authorQais Yousef <qais.yousef@arm.com>
Mon, 23 Mar 2020 13:51:01 +0000 (13:51 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 25 Mar 2020 11:59:34 +0000 (12:59 +0100)
commitd720f98604391dab6aa3cb4c1bc005ed1aba4703
tree4aa30be79a98f962c38b731a507add852860d9db
parent5efbe6a6e1c077b4022d9e89d79543c6106c6e25
cpu/hotplug: Provide bringup_hibernate_cpu()

arm64 uses cpu_up() in the resume from hibernation code to ensure that the
CPU on which the system hibernated is online. Provide a core function for
this.

[ tglx: Split out from the combo arm64 patch ]

Signed-off-by: Qais Yousef <qais.yousef@arm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Link: https://lkml.kernel.org/r/20200323135110.30522-9-qais.yousef@arm.com
include/linux/cpu.h
kernel/cpu.c