Removed some debug prints

This commit is contained in:
Ben Gras 2006-03-15 15:16:16 +00:00
parent e07a62161a
commit 557d865b35

View File

@ -199,19 +199,14 @@ PUBLIC int do_reboot()
* SIGKILL. So first kill, then reboot. * SIGKILL. So first kill, then reboot.
*/ */
printf("check_sig(-1, SIGKILL) ...\n");
check_sig(-1, SIGKILL); /* kill all users except init */ check_sig(-1, SIGKILL); /* kill all users except init */
printf("stopping init with PRIO_STOP ...\n");
sys_nice(INIT_PROC_NR, PRIO_STOP); /* stop init, but keep it around */ sys_nice(INIT_PROC_NR, PRIO_STOP); /* stop init, but keep it around */
printf("tell_fs to sync() ...\n");
tell_fs(REBOOT, 0, 0, 0); /* tell FS to synchronize */ tell_fs(REBOOT, 0, 0, 0); /* tell FS to synchronize */
printf("sys_abort ...\n");
/* Ask the kernel to abort. All system services, including the PM, will /* Ask the kernel to abort. All system services, including the PM, will
* get a HARD_STOP notification. Await the notification in the main loop. * get a HARD_STOP notification. Await the notification in the main loop.
*/ */
sys_abort(abort_flag, PM_PROC_NR, code_addr, code_size); sys_abort(abort_flag, PM_PROC_NR, code_addr, code_size);
printf("sys_abort called\n");
return(SUSPEND); /* don't reply to caller */ return(SUSPEND); /* don't reply to caller */
} }