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 ]
Showing the changes to include/linux (1 of 2 files). Show all
Unified · Split
| @@ -93,6 +93,7 @@ int add_cpu(unsigned int cpu); · 92 unmodified lines | ||
| 93 | 93 | void notify_cpu_starting(unsigned int cpu); |
| 94 | 94 | extern void cpu_maps_update_begin(void); |
| 95 | 95 | extern void cpu_maps_update_done(void); |
| 96 | +int bringup_hibernate_cpu(unsigned int sleep_cpu); | |
| 96 | 97 | |
| 97 | 98 | #else /* CONFIG_SMP */ |
| 98 | 99 | #define cpuhp_tasks_frozen 0 |