]> git.baikalelectronics.ru Git - kernel.git/commit
printk: use ktime_get()
authorIngo Molnar <mingo@elte.hu>
Fri, 25 Jan 2008 20:08:34 +0000 (21:08 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 25 Jan 2008 20:08:34 +0000 (21:08 +0100)
commit2c00a7da75300d3ccc37be4b3fddc0e639e2e263
tree5ca31fef94ed523c3df867ba3472e70d215ffb84
parent20102dee925ddc477bd856c631c435e922027a06
printk: use ktime_get()

printk timestamps: use ktime_get().

Some platforms have a functioning clocksource function only after
they are done with early bootup, so delay this until out of
SYSTEM_BOOTING state.

it's also inherently safe now, as any bugs in this area will be
caught by the printk recursion checks.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/printk.c