pc, pc64: adjust mpshutdown() comment to reflect the current state

This commit is contained in:
cinap_lenrek 2014-12-19 23:57:43 +01:00
parent 7523131e78
commit 2d06aac2ab
2 changed files with 4 additions and 4 deletions

View file

@ -905,8 +905,8 @@ shutdown(int ispanic)
once = active.machs & (1<<m->machno);
/*
* setting exiting will make hzclock() on each processor call exit(0),
* which calls shutdown(0) and arch->reset(), which on mp systems is
* mpshutdown, from which there is no return: the processor is idled
* which calls shutdown(0) and arch->reset(), which on mp systems calls
* mpshutdown(), from which there is no return: the processor is idled
* or initiates a reboot. clearing our bit in machs avoids calling
* exit(0) from hzclock() on this processor.
*/

View file

@ -537,8 +537,8 @@ shutdown(int ispanic)
once = active.machs & (1<<m->machno);
/*
* setting exiting will make hzclock() on each processor call exit(0),
* which calls shutdown(0) and arch->reset(), which on mp systems is
* mpshutdown, from which there is no return: the processor is idled
* which calls shutdown(0) and arch->reset(), which on mp systems calls
* mpshutdown(), from which there is no return: the processor is idled
* or initiates a reboot. clearing our bit in machs avoids calling
* exit(0) from hzclock() on this processor.
*/