History

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 ]

Qais Yousef committed 6 years ago

Commit d720f981 parent 5efbe6a2 files · +24 −0Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/cpu.h+1−0
@@ -93,6 +93,7 @@ int add_cpu(unsigned int cpu); · 92 unmodified lines
9393 void notify_cpu_starting(unsigned int cpu);
9494 extern void cpu_maps_update_begin(void);
9595 extern void cpu_maps_update_done(void);
96+int bringup_hibernate_cpu(unsigned int sleep_cpu);
9697
9798 #else /* CONFIG_SMP */
9899 #define cpuhp_tasks_frozen 0