Fix wrong word

This commit is contained in:
Erik van der Kouwe 2010-04-28 20:37:08 +00:00
parent 603ed23ebd
commit 93f3bf5bda
3 changed files with 7 additions and 7 deletions

View file

@ -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) {

View file

@ -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 */

View file

@ -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;
}