diff options
Diffstat (limited to 'kernel/time/timekeeping.c')
| -rw-r--r-- | kernel/time/timekeeping.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c index f7df8ea21707..32d8d6aaedb8 100644 --- a/kernel/time/timekeeping.c +++ b/kernel/time/timekeeping.c | |||
| @@ -852,8 +852,9 @@ static void __timekeeping_inject_sleeptime(struct timekeeper *tk, | |||
| 852 | struct timespec *delta) | 852 | struct timespec *delta) |
| 853 | { | 853 | { |
| 854 | if (!timespec_valid_strict(delta)) { | 854 | if (!timespec_valid_strict(delta)) { |
| 855 | printk(KERN_WARNING "__timekeeping_inject_sleeptime: Invalid " | 855 | printk_deferred(KERN_WARNING |
| 856 | "sleep delta value!\n"); | 856 | "__timekeeping_inject_sleeptime: Invalid " |
| 857 | "sleep delta value!\n"); | ||
| 857 | return; | 858 | return; |
| 858 | } | 859 | } |
| 859 | tk_xtime_add(tk, delta); | 860 | tk_xtime_add(tk, delta); |
| @@ -1157,7 +1158,7 @@ static void timekeeping_adjust(struct timekeeper *tk, s64 offset) | |||
| 1157 | 1158 | ||
| 1158 | if (unlikely(tk->clock->maxadj && | 1159 | if (unlikely(tk->clock->maxadj && |
| 1159 | (tk->mult + adj > tk->clock->mult + tk->clock->maxadj))) { | 1160 | (tk->mult + adj > tk->clock->mult + tk->clock->maxadj))) { |
| 1160 | printk_once(KERN_WARNING | 1161 | printk_deferred_once(KERN_WARNING |
| 1161 | "Adjusting %s more than 11%% (%ld vs %ld)\n", | 1162 | "Adjusting %s more than 11%% (%ld vs %ld)\n", |
| 1162 | tk->clock->name, (long)tk->mult + adj, | 1163 | tk->clock->name, (long)tk->mult + adj, |
| 1163 | (long)tk->clock->mult + tk->clock->maxadj); | 1164 | (long)tk->clock->mult + tk->clock->maxadj); |
