diff options
author | John Stultz <john.stultz@linaro.org> | 2011-10-27 20:41:17 -0400 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2011-11-21 22:00:55 -0500 |
commit | 3f86f28ffc298e168692ce88791c1d64a03b655b (patch) | |
tree | 0b0c8fa3e63e1f3e41f5da857f64d5395eb0d100 /kernel/time | |
parent | c9fad429d438fdd736ac6816b75d16c4cd626acd (diff) |
time: Fix spelling mistakes in new comments
Fixup spelling issues caught by Richard
CC: Richard Cochran <richardcochran@gmail.com>
CC: Chen Jie <chenj@lemote.com>
CC: Steven Rostedt <rostedt@goodmis.org>
CC: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'kernel/time')
-rw-r--r-- | kernel/time/timekeeping.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c index e45bfa3d08d5..4f532a8ce339 100644 --- a/kernel/time/timekeeping.c +++ b/kernel/time/timekeeping.c | |||
@@ -809,11 +809,11 @@ static void timekeeping_adjust(s64 offset) | |||
809 | * First we shift it down from NTP_SHIFT to clocksource->shifted nsecs. | 809 | * First we shift it down from NTP_SHIFT to clocksource->shifted nsecs. |
810 | * | 810 | * |
811 | * Note we subtract one in the shift, so that error is really error*2. | 811 | * Note we subtract one in the shift, so that error is really error*2. |
812 | * This "saves" dividing(shifting) intererval twice, but keeps the | 812 | * This "saves" dividing(shifting) interval twice, but keeps the |
813 | * (error > interval) comparision as still measuring if error is | 813 | * (error > interval) comparison as still measuring if error is |
814 | * larger then half an interval. | 814 | * larger then half an interval. |
815 | * | 815 | * |
816 | * Note: It does not "save" on aggrivation when reading the code. | 816 | * Note: It does not "save" on aggravation when reading the code. |
817 | */ | 817 | */ |
818 | error = timekeeper.ntp_error >> (timekeeper.ntp_error_shift - 1); | 818 | error = timekeeper.ntp_error >> (timekeeper.ntp_error_shift - 1); |
819 | if (error > interval) { | 819 | if (error > interval) { |
@@ -829,7 +829,7 @@ static void timekeeping_adjust(s64 offset) | |||
829 | * nanosecond, and store the amount rounded up into | 829 | * nanosecond, and store the amount rounded up into |
830 | * the error. This causes the likely below to be unlikely. | 830 | * the error. This causes the likely below to be unlikely. |
831 | * | 831 | * |
832 | * The properfix is to avoid rounding up by using | 832 | * The proper fix is to avoid rounding up by using |
833 | * the high precision timekeeper.xtime_nsec instead of | 833 | * the high precision timekeeper.xtime_nsec instead of |
834 | * xtime.tv_nsec everywhere. Fixing this will take some | 834 | * xtime.tv_nsec everywhere. Fixing this will take some |
835 | * time. | 835 | * time. |