projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49302d0
)
[PATCH] Avoid device suspend on reboot
author
Andrew Morton
<akpm@osdl.org>
Wed, 27 Jul 2005 17:41:23 +0000
(10:41 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Wed, 27 Jul 2005 23:46:37 +0000
(16:46 -0700)
My fairly ordinary x86 test box gets stuck during reboot on the
wait_for_completion() in ide_do_drive_cmd():
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/sys.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/sys.c
b/kernel/sys.c
index a74039036fb47cf9d27896477add07d4f41cb063..8f255259ef9e6ab8f395b2d1e208090b1968e4a6 100644
(file)
--- a/
kernel/sys.c
+++ b/
kernel/sys.c
@@
-371,7
+371,6
@@
void kernel_restart(char *cmd)
{
notifier_call_chain(&reboot_notifier_list, SYS_RESTART, cmd);
system_state = SYSTEM_RESTART;
- device_suspend(PMSG_FREEZE);
device_shutdown();
if (!cmd) {
printk(KERN_EMERG "Restarting system.\n");