소스 검색

[PATCH] 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 not ready to be called in the even more
fickle kernel_kexec.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Eric W. Biederman 20 년 전
부모
커밋
1108bae41e
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      kernel/sys.c

+ 0 - 1
kernel/sys.c

@@ -392,7 +392,6 @@ void kernel_kexec(void)
 	}
 	}
 	notifier_call_chain(&reboot_notifier_list, SYS_RESTART, NULL);
 	notifier_call_chain(&reboot_notifier_list, SYS_RESTART, NULL);
 	system_state = SYSTEM_RESTART;
 	system_state = SYSTEM_RESTART;
-	device_suspend(PMSG_FREEZE);
 	device_shutdown();
 	device_shutdown();
 	printk(KERN_EMERG "Starting new kernel\n");
 	printk(KERN_EMERG "Starting new kernel\n");
 	machine_shutdown();
 	machine_shutdown();