aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/time.c')
-rw-r--r--kernel/time.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/time.c b/kernel/time.c
index 33af3e55570d..3b705ecc3fb7 100644
--- a/kernel/time.c
+++ b/kernel/time.c
@@ -267,7 +267,7 @@ EXPORT_SYMBOL(jiffies_to_usecs);
267 * 267 *
268 * This function should be only used for timestamps returned by 268 * This function should be only used for timestamps returned by
269 * current_kernel_time() or CURRENT_TIME, not with do_gettimeofday() because 269 * current_kernel_time() or CURRENT_TIME, not with do_gettimeofday() because
270 * it doesn't handle the better resolution of the later. 270 * it doesn't handle the better resolution of the latter.
271 */ 271 */
272struct timespec timespec_trunc(struct timespec t, unsigned gran) 272struct timespec timespec_trunc(struct timespec t, unsigned gran)
273{ 273{
@@ -315,7 +315,7 @@ EXPORT_SYMBOL_GPL(getnstimeofday);
315 * This algorithm was first published by Gauss (I think). 315 * This algorithm was first published by Gauss (I think).
316 * 316 *
317 * WARNING: this function will overflow on 2106-02-07 06:28:16 on 317 * WARNING: this function will overflow on 2106-02-07 06:28:16 on
318 * machines were long is 32-bit! (However, as time_t is signed, we 318 * machines where long is 32-bit! (However, as time_t is signed, we
319 * will already get problems at other places on 2038-01-19 03:14:08) 319 * will already get problems at other places on 2038-01-19 03:14:08)
320 */ 320 */
321unsigned long 321unsigned long