Module Name: src Committed By: skrll Date: Tue Nov 2 20:49:48 UTC 2010
Modified Files: src/lib/libc/sys: _lwp_unpark.2 _lwp_unpark_all.2 src/lib/libpthread: pthread_cond.c src/sys/dev/tc: stic.c src/sys/uvm: uvm_kmguard.c Log Message: Spell immediately correctly. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/lib/libc/sys/_lwp_unpark.2 cvs rdiff -u -r1.5 -r1.6 src/lib/libc/sys/_lwp_unpark_all.2 cvs rdiff -u -r1.55 -r1.56 src/lib/libpthread/pthread_cond.c cvs rdiff -u -r1.46 -r1.47 src/sys/dev/tc/stic.c cvs rdiff -u -r1.3 -r1.4 src/sys/uvm/uvm_kmguard.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/sys/_lwp_unpark.2 diff -u src/lib/libc/sys/_lwp_unpark.2:1.3 src/lib/libc/sys/_lwp_unpark.2:1.4 --- src/lib/libc/sys/_lwp_unpark.2:1.3 Wed Apr 30 13:10:51 2008 +++ src/lib/libc/sys/_lwp_unpark.2 Tue Nov 2 20:49:47 2010 @@ -1,4 +1,4 @@ -.\" $NetBSD: _lwp_unpark.2,v 1.3 2008/04/30 13:10:51 martin Exp $ +.\" $NetBSD: _lwp_unpark.2,v 1.4 2010/11/02 20:49:47 skrll Exp $ .\" .\" Copyright (c) 2003, 2007 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -47,7 +47,7 @@ The target LWP is assumed to be waiting in the kernel as a result of a call to .Fn _lwp_park . -If the target LWP is not currently waiting, it will return immediatley +If the target LWP is not currently waiting, it will return immediately upon the next call to .Fn _lwp_park . .Pp Index: src/lib/libc/sys/_lwp_unpark_all.2 diff -u src/lib/libc/sys/_lwp_unpark_all.2:1.5 src/lib/libc/sys/_lwp_unpark_all.2:1.6 --- src/lib/libc/sys/_lwp_unpark_all.2:1.5 Wed Apr 30 13:10:51 2008 +++ src/lib/libc/sys/_lwp_unpark_all.2 Tue Nov 2 20:49:47 2010 @@ -1,4 +1,4 @@ -.\" $NetBSD: _lwp_unpark_all.2,v 1.5 2008/04/30 13:10:51 martin Exp $ +.\" $NetBSD: _lwp_unpark_all.2,v 1.6 2010/11/02 20:49:47 skrll Exp $ .\" .\" Copyright (c) 2003, 2007 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -49,7 +49,7 @@ calls to .Fn _lwp_park . If any of the target LWPs are not currently waiting, those LWPs will return -immediatley upon the next call to +immediately upon the next call to .Fn _lwp_park . .Pp The value pointed to by Index: src/lib/libpthread/pthread_cond.c diff -u src/lib/libpthread/pthread_cond.c:1.55 src/lib/libpthread/pthread_cond.c:1.56 --- src/lib/libpthread/pthread_cond.c:1.55 Tue Mar 23 20:35:44 2010 +++ src/lib/libpthread/pthread_cond.c Tue Nov 2 20:49:47 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: pthread_cond.c,v 1.55 2010/03/23 20:35:44 drochner Exp $ */ +/* $NetBSD: pthread_cond.c,v 1.56 2010/11/02 20:49:47 skrll Exp $ */ /*- * Copyright (c) 2001, 2006, 2007, 2008 The NetBSD Foundation, Inc. @@ -46,7 +46,7 @@ */ #include <sys/cdefs.h> -__RCSID("$NetBSD: pthread_cond.c,v 1.55 2010/03/23 20:35:44 drochner Exp $"); +__RCSID("$NetBSD: pthread_cond.c,v 1.56 2010/11/02 20:49:47 skrll Exp $"); #include <errno.h> #include <sys/time.h> @@ -234,7 +234,7 @@ /* * For all valid uses of pthread_cond_signal(), the caller will * hold the mutex that the target is using to synchronize with. - * To avoid the target awakening and immediatley blocking on the + * To avoid the target awakening and immediately blocking on the * mutex, transfer the thread to be awoken to the current thread's * deferred wakeup list. The waiter will be set running when the * caller (this thread) releases the mutex. Index: src/sys/dev/tc/stic.c diff -u src/sys/dev/tc/stic.c:1.46 src/sys/dev/tc/stic.c:1.47 --- src/sys/dev/tc/stic.c:1.46 Sat Aug 22 17:38:06 2009 +++ src/sys/dev/tc/stic.c Tue Nov 2 20:49:47 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: stic.c,v 1.46 2009/08/22 17:38:06 tsutsui Exp $ */ +/* $NetBSD: stic.c,v 1.47 2010/11/02 20:49:47 skrll Exp $ */ /*- * Copyright (c) 1999, 2000, 2001 The NetBSD Foundation, Inc. @@ -36,7 +36,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: stic.c,v 1.46 2009/08/22 17:38:06 tsutsui Exp $"); +__KERNEL_RCSID(0, "$NetBSD: stic.c,v 1.47 2010/11/02 20:49:47 skrll Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -740,7 +740,7 @@ /* * XXX Since we don't yet receive vblank interrupts from the - * PXG, we must flush immediatley. + * PXG, we must flush immediately. */ if (si->si_disptype == WSDISPLAY_TYPE_PXG) stic_flush(si); @@ -1135,7 +1135,7 @@ /* * XXX Since we don't yet receive vblank interrupts from the - * PXG, we must flush immediatley. + * PXG, we must flush immediately. */ if (si->si_disptype == WSDISPLAY_TYPE_PXG) stic_flush(si); @@ -1275,7 +1275,7 @@ /* * XXX Since we don't yet receive vblank interrupts from the PXG, we - * must flush immediatley. + * must flush immediately. */ if (si->si_disptype == WSDISPLAY_TYPE_PXG) stic_flush(si); @@ -1352,7 +1352,7 @@ /* * XXX Since we don't yet receive vblank interrupts from the PXG, we - * must flush immediatley. + * must flush immediately. */ if (si->si_disptype == WSDISPLAY_TYPE_PXG) stic_flush(si); Index: src/sys/uvm/uvm_kmguard.c diff -u src/sys/uvm/uvm_kmguard.c:1.3 src/sys/uvm/uvm_kmguard.c:1.4 --- src/sys/uvm/uvm_kmguard.c:1.3 Fri May 14 05:02:06 2010 +++ src/sys/uvm/uvm_kmguard.c Tue Nov 2 20:49:48 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_kmguard.c,v 1.3 2010/05/14 05:02:06 cegger Exp $ */ +/* $NetBSD: uvm_kmguard.c,v 1.4 2010/11/02 20:49:48 skrll Exp $ */ /*- * Copyright (c) 2009 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ * - Use-after-free */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: uvm_kmguard.c,v 1.3 2010/05/14 05:02:06 cegger Exp $"); +__KERNEL_RCSID(0, "$NetBSD: uvm_kmguard.c,v 1.4 2010/11/02 20:49:48 skrll Exp $"); #include <sys/param.h> #include <sys/malloc.h> @@ -155,7 +155,7 @@ /* * offset the returned pointer so that the unmapped guard page - * sits immediatley after the returned object. + * sits immediately after the returned object. */ p = (void **)((va + PAGE_SIZE - len) & ~(uintptr_t)ALIGNBYTES);