printk: revert ktime_get() timestamps
revert 19ef930927
.
Kevin Winchester reported a lockup during X startup an bisected
it to this commit.
Reported-by: Kevin Winchester <kjwinchester@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
@@ -702,9 +702,7 @@ asmlinkage int vprintk(const char *fmt, va_list args)
|
|||||||
loglev_char = default_message_loglevel
|
loglev_char = default_message_loglevel
|
||||||
+ '0';
|
+ '0';
|
||||||
}
|
}
|
||||||
t = 0;
|
t = cpu_clock(printk_cpu);
|
||||||
if (system_state != SYSTEM_BOOTING)
|
|
||||||
t = ktime_to_ns(ktime_get());
|
|
||||||
nanosec_rem = do_div(t, 1000000000);
|
nanosec_rem = do_div(t, 1000000000);
|
||||||
tlen = sprintf(tbuf,
|
tlen = sprintf(tbuf,
|
||||||
"<%c>[%5lu.%06lu] ",
|
"<%c>[%5lu.%06lu] ",
|
||||||
|
Reference in New Issue
Block a user