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
93void notify_cpu_starting(unsigned int cpu);93void notify_cpu_starting(unsigned int cpu);
94extern void cpu_maps_update_begin(void);94extern void cpu_maps_update_begin(void);
95extern void cpu_maps_update_done(void);95extern void cpu_maps_update_done(void);
96int bringup_hibernate_cpu(unsigned int sleep_cpu);
96 97
97#else /* CONFIG_SMP */98#else /* CONFIG_SMP */
98#define cpuhp_tasks_frozen 099#define cpuhp_tasks_frozen 0