]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/printk.c
splice: fix problem with atime not being updated
[linux-2.6-omap-h63xx.git] / kernel / printk.c
index e6c1f36d8c3a2624afb11ac919b52663e2c00aa9..3b7c968d0ef994e8be14ef780835d96634761881 100644 (file)
@@ -573,11 +573,6 @@ static int __init printk_time_setup(char *str)
 
 __setup("time", printk_time_setup);
 
-__attribute__((weak)) unsigned long long printk_clock(void)
-{
-       return sched_clock();
-}
-
 /* Check if we have any console registered that can be called early in boot. */
 static int have_callable_console(void)
 {
@@ -707,7 +702,7 @@ asmlinkage int vprintk(const char *fmt, va_list args)
                                        loglev_char = default_message_loglevel
                                                + '0';
                                }
-                               t = printk_clock();
+                               t = cpu_clock(printk_cpu);
                                nanosec_rem = do_div(t, 1000000000);
                                tlen = sprintf(tbuf,
                                                "<%c>[%5lu.%06lu] ",