Skip to contentSkip to conversation

reboot: remove device_suspend(PMSG_FREEZE) from kernel_kexec

PATCH In review Eric W. Biederman 2 participants 3 messages Jul 29, 2005 – Jul 30, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 reboot: remove device_suspend(PMSG_FREEZE) from kernel_kexec

If device_suspend(PMSG_FREEZE) is not ready to be called in kernel_restart it is definitely ready to be called in the more the more fickle kernel_kexec.

---

 kernel/sys.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

83cf6e3b0d37563138e4d0fd4d29e69e5c7e93df

kernel/sys.c +0 -1
@@ -392,7 +392,6 @@ void kernel_kexec(void)
 	}
 	notifier_call_chain(&reboot_notifier_list, SYS_RESTART, NULL);
 	system_state = SYSTEM_RESTART;
-	device_suspend(PMSG_FREEZE);
 	device_shutdown();
 	printk(KERN_EMERG "Starting new kernel\n");
 	machine_shutdown();
#1 lore raw
Quoted 4 lines · Eric W. Biederman

If device_suspend(PMSG_FREEZE) is not ready to be called in kernel_restart it is definitely ready to be called in the more the more fickle kernel_kexec.

Ok, that was one of the more confused sentences I have ever seen, but I fixed it up and applied it ;)

I assume it should be "definitely <not> ready", and the duplication the duplication in "the more the more" is just because you're singing along with some catchy tune and your fingers got away from you.

Linus

#2 lore raw
Quoted 6 lines · Linus Torvalds
Quoted 4 lines · Eric W. Biederman

If device_suspend(PMSG_FREEZE) is not ready to be called in kernel_restart it is definitely ready to be called in the more the more fickle kernel_kexec.

Quoted 6 lines

Ok, that was one of the more confused sentences I have ever seen, but I fixed it up and applied it ;)

I assume it should be "definitely <not> ready", and the duplication the duplication in "the more the more" is just because you're singing along with some catchy tune and your fingers got away from you.

Something like that. I have more problems writing a good description of my code than actually writing the code.

Eric