Commit 571af55a authored by Zhen Lei's avatar Zhen Lei Committed by Thomas Gleixner

time: Fix spelling in comments

Signed-off-by: default avatarZhen Lei <thunder.leizhen@huawei.com>
Cc: Hanjun Guo <guohanjun@huawei.com>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tianhong Ding <dingtianhong@huawei.com>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Xinwei Hu <huxinwei@huawei.com>
Cc: Xunlei Pang <pang.xunlei@linaro.org>
Cc: Zefan Li <lizefan@huawei.com>
Link: http://lkml.kernel.org/r/1440484973-13892-1-git-send-email-thunder.leizhen@huawei.com
[ Fixed yet another typo in one of the sentences fixed. ]
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent 1f93e4a9
...@@ -479,7 +479,7 @@ static u32 clocksource_max_adjustment(struct clocksource *cs) ...@@ -479,7 +479,7 @@ static u32 clocksource_max_adjustment(struct clocksource *cs)
* return half the number of nanoseconds the hardware counter can technically * return half the number of nanoseconds the hardware counter can technically
* cover. This is done so that we can potentially detect problems caused by * cover. This is done so that we can potentially detect problems caused by
* delayed timers or bad hardware, which might result in time intervals that * delayed timers or bad hardware, which might result in time intervals that
* are larger then what the math used can handle without overflows. * are larger than what the math used can handle without overflows.
*/ */
u64 clocks_calc_max_nsecs(u32 mult, u32 shift, u32 maxadj, u64 mask, u64 *max_cyc) u64 clocks_calc_max_nsecs(u32 mult, u32 shift, u32 maxadj, u64 mask, u64 *max_cyc)
{ {
......
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
/* /*
* The timer bases: * The timer bases:
* *
* There are more clockids then hrtimer bases. Thus, we index * There are more clockids than hrtimer bases. Thus, we index
* into the timer bases by the hrtimer_base_type enum. When trying * into the timer bases by the hrtimer_base_type enum. When trying
* to reach a base using a clockid, hrtimer_clockid_to_base() * to reach a base using a clockid, hrtimer_clockid_to_base()
* is used to convert from clockid to the proper hrtimer_base_type. * is used to convert from clockid to the proper hrtimer_base_type.
......
...@@ -1674,7 +1674,7 @@ static void timekeeping_adjust(struct timekeeper *tk, s64 offset) ...@@ -1674,7 +1674,7 @@ static void timekeeping_adjust(struct timekeeper *tk, s64 offset)
/** /**
* accumulate_nsecs_to_secs - Accumulates nsecs into secs * accumulate_nsecs_to_secs - Accumulates nsecs into secs
* *
* Helper function that accumulates a the nsecs greater then a second * Helper function that accumulates the nsecs greater than a second
* from the xtime_nsec field to the xtime_secs field. * from the xtime_nsec field to the xtime_secs field.
* It also calls into the NTP code to handle leapsecond processing. * It also calls into the NTP code to handle leapsecond processing.
* *
...@@ -1726,7 +1726,7 @@ static cycle_t logarithmic_accumulation(struct timekeeper *tk, cycle_t offset, ...@@ -1726,7 +1726,7 @@ static cycle_t logarithmic_accumulation(struct timekeeper *tk, cycle_t offset,
cycle_t interval = tk->cycle_interval << shift; cycle_t interval = tk->cycle_interval << shift;
u64 raw_nsecs; u64 raw_nsecs;
/* If the offset is smaller then a shifted interval, do nothing */ /* If the offset is smaller than a shifted interval, do nothing */
if (offset < interval) if (offset < interval)
return offset; return offset;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment