time: fix typo in comments
Fix typo in comments. BTW: I have to fix coding style in arch/ia64/kernel/time.c also, otherwise checkpatch.pl will be complaining. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@elte.hu> Cc: john stultz <johnstul@us.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
@ -267,7 +267,7 @@ EXPORT_SYMBOL(jiffies_to_usecs);
|
||||
*
|
||||
* This function should be only used for timestamps returned by
|
||||
* current_kernel_time() or CURRENT_TIME, not with do_gettimeofday() because
|
||||
* it doesn't handle the better resolution of the later.
|
||||
* it doesn't handle the better resolution of the latter.
|
||||
*/
|
||||
struct timespec timespec_trunc(struct timespec t, unsigned gran)
|
||||
{
|
||||
@ -315,7 +315,7 @@ EXPORT_SYMBOL_GPL(getnstimeofday);
|
||||
* This algorithm was first published by Gauss (I think).
|
||||
*
|
||||
* WARNING: this function will overflow on 2106-02-07 06:28:16 on
|
||||
* machines were long is 32-bit! (However, as time_t is signed, we
|
||||
* machines where long is 32-bit! (However, as time_t is signed, we
|
||||
* will already get problems at other places on 2038-01-19 03:14:08)
|
||||
*/
|
||||
unsigned long
|
||||
|
@ -133,7 +133,7 @@ static void clockevents_do_notify(unsigned long reason, void *dev)
|
||||
}
|
||||
|
||||
/*
|
||||
* Called after a notify add to make devices availble which were
|
||||
* Called after a notify add to make devices available which were
|
||||
* released from the notifier call.
|
||||
*/
|
||||
static void clockevents_notify_released(void)
|
||||
|
@ -364,7 +364,7 @@ static __always_inline int clocksource_bigadjust(s64 error, s64 *interval,
|
||||
* with losing too many ticks, otherwise we would overadjust and
|
||||
* produce an even larger error. The smaller the adjustment the
|
||||
* faster we try to adjust for it, as lost ticks can do less harm
|
||||
* here. This is tuned so that an error of about 1 msec is adusted
|
||||
* here. This is tuned so that an error of about 1 msec is adjusted
|
||||
* within about 1 sec (or 2^20 nsec in 2^SHIFT_HZ ticks).
|
||||
*/
|
||||
error2 = clock->error >> (TICK_LENGTH_SHIFT + 22 - 2 * SHIFT_HZ);
|
||||
|
Reference in New Issue
Block a user