]> Zhao Yanbai Git Server - minix.git/commitdiff
Fix wrong word
authorErik van der Kouwe <erik@minix3.org>
Wed, 28 Apr 2010 20:37:08 +0000 (20:37 +0000)
committerErik van der Kouwe <erik@minix3.org>
Wed, 28 Apr 2010 20:37:08 +0000 (20:37 +0000)
servers/pm/main.c
servers/pm/proto.h
servers/pm/schedule.c

index 41d3c4106869a857113111ea2e6bb2938d334d0a..31e7b14ee3019c1799a0362933202ca9d09d4e71 100644 (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) {
index fd31529a2194424e920041fc91d028a09c14535c..501f24fe5ef18a02996100b830106f6f6d60a580 100644 (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 */
index 2f6ee3d24a51b457df3508951e9fa5d8e0ec56e3..6378eb5651225c6cfbfd801fc1c78bc7e279f660 100644 (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;
                }