Fix wrong word
This commit is contained in:
parent
603ed23ebd
commit
93f3bf5bda
3 changed files with 7 additions and 7 deletions
|
@ -65,7 +65,7 @@ PUBLIC int main()
|
|||
|
||||
/* SEF local startup. */
|
||||
sef_local_startup();
|
||||
overtake_scheduling(); /* overtake all running processes */
|
||||
takeover_scheduling(); /* takeover all running processes */
|
||||
|
||||
/* This is PM's main loop- get work and do it, forever and forever. */
|
||||
while (TRUE) {
|
||||
|
|
|
@ -63,7 +63,7 @@ _PROTOTYPE( int do_getsetpriority, (void) );
|
|||
/* schedule.c */
|
||||
_PROTOTYPE( int schedule_process, (struct mproc * rmp) );
|
||||
_PROTOTYPE( void do_noquantum, (void) );
|
||||
_PROTOTYPE( void overtake_scheduling, (void) );
|
||||
_PROTOTYPE( void takeover_scheduling, (void) );
|
||||
_PROTOTYPE( void balance_queues, (struct timer *tp) );
|
||||
|
||||
/* profile.c */
|
||||
|
|
|
@ -52,9 +52,9 @@ PUBLIC void do_noquantum(void)
|
|||
}
|
||||
|
||||
/*===========================================================================*
|
||||
* overtake_scheduling *
|
||||
* takeover_scheduling *
|
||||
*===========================================================================*/
|
||||
PUBLIC void overtake_scheduling(void)
|
||||
PUBLIC void takeover_scheduling(void)
|
||||
{
|
||||
struct mproc *trmp;
|
||||
int proc_nr;
|
||||
|
@ -62,12 +62,12 @@ PUBLIC void overtake_scheduling(void)
|
|||
tmr_inittimer(&sched_timer);
|
||||
|
||||
for (proc_nr=0, trmp=mproc; proc_nr < NR_PROCS; proc_nr++, trmp++) {
|
||||
/* Don't overtake system processes. When the system starts,
|
||||
* this will typically only overtake init, from which other
|
||||
/* Don't takeover system processes. When the system starts,
|
||||
* this will typically only takeover init, from which other
|
||||
* user space processes will inherit. */
|
||||
if (trmp->mp_flags & IN_USE && !(trmp->mp_flags & PRIV_PROC)) {
|
||||
if (sys_schedctl(trmp->mp_endpoint))
|
||||
printf("PM: Error while overtaking scheduling for %s\n",
|
||||
printf("PM: Error while taking over scheduling for %s\n",
|
||||
trmp->mp_name);
|
||||
trmp->mp_flags |= PM_SCHEDULED;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue