Messages in this thread Patch in this message | | | Subject | [PATCH 3/23] Make ctrl_alt_del call kernel_restart to get a proper reboot. | From | (Eric W. Biederman) | Date | Tue, 26 Jul 2005 11:27:34 -0600 |
| |
It is obvious we wanted to call kernel_restart here but since we don't have it the code was expanded inline and hasn't been correct since sometime in 2.4.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> ---
kernel/sys.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
252e08b37dc29ce42a0aef357b75ec1882eb634c diff --git a/kernel/sys.c b/kernel/sys.c --- a/kernel/sys.c +++ b/kernel/sys.c @@ -502,8 +502,7 @@ asmlinkage long sys_reboot(int magic1, i static void deferred_cad(void *dummy) { - notifier_call_chain(&reboot_notifier_list, SYS_RESTART, NULL); - machine_restart(NULL); + kernel_restart(NULL); } /* - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |