diff options
Diffstat (limited to 'kern')
-rw-r--r-- | kern/ipc_kobject.c | 2 | ||||
-rw-r--r-- | kern/ipc_mig.c | 2 | ||||
-rw-r--r-- | kern/mach_clock.c | 2 | ||||
-rw-r--r-- | kern/profile.c | 2 | ||||
-rw-r--r-- | kern/sched_prim.c | 2 | ||||
-rw-r--r-- | kern/strings.c | 4 | ||||
-rw-r--r-- | kern/xpr.h | 2 |
7 files changed, 8 insertions, 8 deletions
diff --git a/kern/ipc_kobject.c b/kern/ipc_kobject.c index bf22028..709ec9e 100644 --- a/kern/ipc_kobject.c +++ b/kern/ipc_kobject.c @@ -244,7 +244,7 @@ ipc_kobject_server(request) } else { /* * The message contents of the request are intact. - * Destroy everthing except the reply port right, + * Destroy everything except the reply port right, * which is needed in the reply message. */ diff --git a/kern/ipc_mig.c b/kern/ipc_mig.c index 41ebc94..cc61ec7 100644 --- a/kern/ipc_mig.c +++ b/kern/ipc_mig.c @@ -612,7 +612,7 @@ kern_return_t thread_set_state_KERNEL( * knows to fall back on an RPC. For other return values, it won't * retry with an RPC. The retry might get a different (incorrect) rc. * Return values are only set (and should only be set, with copyout) - * on successfull calls. + * on successful calls. */ kern_return_t diff --git a/kern/mach_clock.c b/kern/mach_clock.c index 0a7458b..b627b89 100644 --- a/kern/mach_clock.c +++ b/kern/mach_clock.c @@ -234,7 +234,7 @@ void clock_interrupt( update_mapped_time(&time); /* - * Schedule soft-interupt for timeout if needed + * Schedule soft-interrupt for timeout if needed */ if (needsoft) { if (basepri) { diff --git a/kern/profile.c b/kern/profile.c index e14d411..5510721 100644 --- a/kern/profile.c +++ b/kern/profile.c @@ -194,7 +194,7 @@ thread_t th; * Make a request to the profile_thread by inserting * the buffer in the send queue, and wake it up. * The last buffer must be inserted at the head of the - * send queue, so the profile_thread handles it immediatly. + * send queue, so the profile_thread handles it immediately. */ if (kmem_alloc( kernel_map, &vm_buf_entry, sizeof(struct buf_to_send)) != KERN_SUCCESS) diff --git a/kern/sched_prim.c b/kern/sched_prim.c index 89fb1dc..376217a 100644 --- a/kern/sched_prim.c +++ b/kern/sched_prim.c @@ -155,7 +155,7 @@ void sched_init(void) min_quantum = hz / 10; /* context switch 10 times/second */ wait_queue_init(); - pset_sys_bootstrap(); /* initialize processer mgmt. */ + pset_sys_bootstrap(); /* initialize processor mgmt. */ queue_init(&action_queue); simple_lock_init(&action_lock); sched_tick = 0; diff --git a/kern/strings.c b/kern/strings.c index c77ae4f..e299534 100644 --- a/kern/strings.c +++ b/kern/strings.c @@ -50,7 +50,7 @@ * the contents are identical up to the length of s2. * It returns < 0 if the first differing character is smaller * in s1 than in s2 or if s1 is shorter than s2 and the - * contents are identical upto the length of s1. + * contents are identical up to the length of s1. */ int __attribute__ ((pure)) @@ -157,7 +157,7 @@ strncpy( /* * Abstract: - * strlen returns the number of characters in "string" preceeding + * strlen returns the number of characters in "string" preceding * the terminating null character. */ @@ -34,7 +34,7 @@ * which will expand into the following code: * if (xprflags & XPR_SYSCALLS) * xpr("syscall: %d, 0x%x\n", syscallno, arg1); - * Xpr will log the pointer to the printf string and up to 6 arguements, + * Xpr will log the pointer to the printf string and up to 6 arguments, * along with a timestamp and cpuinfo (for multi-processor systems), into * a circular buffer. The actual printf processing is delayed until after * the buffer has been collected. It is assumed that the text/data segments |