diff options
author | Ingo Molnar <mingo@elte.hu> | 2011-11-11 02:10:42 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-11-11 02:10:42 -0500 |
commit | 367177e50189ab0a983b52f3d3f7eb2a1927db71 (patch) | |
tree | fed5e93eb35d002e21cb3c2fafbfe38062aaa266 /kernel/time/timekeeping.c | |
parent | c2bc11113c50449f23c40b724fe410fc2380a8e9 (diff) | |
parent | d65670a78cdbfae94f20a9e05ec705871d7cdf2b (diff) |
Merge branch 'formingo/3.2/tip/timers/core' of git://git.linaro.org/people/jstultz/linux into timers/core
Conflicts:
kernel/time/timekeeping.c
Diffstat (limited to 'kernel/time/timekeeping.c')
-rw-r--r-- | kernel/time/timekeeping.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c index 025e136f3881..e9f60d311436 100644 --- a/kernel/time/timekeeping.c +++ b/kernel/time/timekeeping.c | |||
@@ -850,6 +850,13 @@ static void timekeeping_adjust(s64 offset) | |||
850 | } else /* No adjustment needed */ | 850 | } else /* No adjustment needed */ |
851 | return; | 851 | return; |
852 | 852 | ||
853 | WARN_ONCE(timekeeper.clock->maxadj && | ||
854 | (timekeeper.mult + adj > timekeeper.clock->mult + | ||
855 | timekeeper.clock->maxadj), | ||
856 | "Adjusting %s more then 11%% (%ld vs %ld)\n", | ||
857 | timekeeper.clock->name, (long)timekeeper.mult + adj, | ||
858 | (long)timekeeper.clock->mult + | ||
859 | timekeeper.clock->maxadj); | ||
853 | /* | 860 | /* |
854 | * So the following can be confusing. | 861 | * So the following can be confusing. |
855 | * | 862 | * |