diff options
Diffstat (limited to 'kernel/time/timekeeping_debug.c')
-rw-r--r-- | kernel/time/timekeeping_debug.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/time/timekeeping_debug.c b/kernel/time/timekeeping_debug.c index 38bc4d2208e8..0754cadfa9e6 100644 --- a/kernel/time/timekeeping_debug.c +++ b/kernel/time/timekeeping_debug.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <linux/init.h> | 19 | #include <linux/init.h> |
20 | #include <linux/kernel.h> | 20 | #include <linux/kernel.h> |
21 | #include <linux/seq_file.h> | 21 | #include <linux/seq_file.h> |
22 | #include <linux/suspend.h> | ||
22 | #include <linux/time.h> | 23 | #include <linux/time.h> |
23 | 24 | ||
24 | #include "timekeeping_internal.h" | 25 | #include "timekeeping_internal.h" |
@@ -75,7 +76,7 @@ void tk_debug_account_sleep_time(struct timespec64 *t) | |||
75 | int bin = min(fls(t->tv_sec), NUM_BINS-1); | 76 | int bin = min(fls(t->tv_sec), NUM_BINS-1); |
76 | 77 | ||
77 | sleep_time_bin[bin]++; | 78 | sleep_time_bin[bin]++; |
78 | printk_deferred(KERN_INFO "Suspended for %lld.%03lu seconds\n", | 79 | pm_deferred_pr_dbg("Timekeeping suspended for %lld.%03lu seconds\n", |
79 | (s64)t->tv_sec, t->tv_nsec / NSEC_PER_MSEC); | 80 | (s64)t->tv_sec, t->tv_nsec / NSEC_PER_MSEC); |
80 | } | 81 | } |
81 | 82 | ||