We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d720f98 commit e646ac5Copy full SHA for e646ac5
arch/arm64/kernel/hibernate.c
@@ -166,14 +166,11 @@ int arch_hibernation_header_restore(void *addr)
166
sleep_cpu = -EINVAL;
167
return -EINVAL;
168
}
169
- if (!cpu_online(sleep_cpu)) {
170
- pr_info("Hibernated on a CPU that is offline! Bringing CPU up.\n");
171
- ret = cpu_up(sleep_cpu);
172
- if (ret) {
173
- pr_err("Failed to bring hibernate-CPU up!\n");
174
- sleep_cpu = -EINVAL;
175
- return ret;
176
- }
+
+ ret = bringup_hibernate_cpu(sleep_cpu);
+ if (ret) {
+ sleep_cpu = -EINVAL;
+ return ret;
177
178
179
resume_hdr = *hdr;
0 commit comments