mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] reboot: remove device_suspend(PMSG_FREEZE) from kernel_kexec
@ 2005-07-29 18:50 Eric W. Biederman
  2005-07-29 19:03 ` Linus Torvalds
  0 siblings, 1 reply; 3+ messages in thread
From: Eric W. Biederman @ 2005-07-29 18:50 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Linus Torvalds, linux-kernel


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. 

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
---

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

83cf6e3b0d37563138e4d0fd4d29e69e5c7e93df
diff --git a/kernel/sys.c b/kernel/sys.c
--- a/kernel/sys.c
+++ b/kernel/sys.c
@@ -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();

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] reboot: remove device_suspend(PMSG_FREEZE) from kernel_kexec
  2005-07-29 18:50 [PATCH] reboot: remove device_suspend(PMSG_FREEZE) from kernel_kexec Eric W. Biederman
@ 2005-07-29 19:03 ` Linus Torvalds
  2005-07-29 19:15   ` Eric W. Biederman
  0 siblings, 1 reply; 3+ messages in thread
From: Linus Torvalds @ 2005-07-29 19:03 UTC (permalink / raw)
  To: Eric W. Biederman; +Cc: Andrew Morton, linux-kernel



On Fri, 29 Jul 2005, Eric W. Biederman wrote:
> 
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] reboot: remove device_suspend(PMSG_FREEZE) from kernel_kexec
  2005-07-29 19:03 ` Linus Torvalds
@ 2005-07-29 19:15   ` Eric W. Biederman
  0 siblings, 0 replies; 3+ messages in thread
From: Eric W. Biederman @ 2005-07-29 19:15 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Andrew Morton, linux-kernel

Linus Torvalds <torvalds@osdl.org> writes:

> On Fri, 29 Jul 2005, Eric W. Biederman wrote:
>> 
>> 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.

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

Eric

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-07-30  0:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-29 18:50 [PATCH] reboot: remove device_suspend(PMSG_FREEZE) from kernel_kexec Eric W. Biederman
2005-07-29 19:03 ` Linus Torvalds
2005-07-29 19:15   ` Eric W. Biederman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome