printk: use ktime_get()
commit19ef9309273d26cb005cb23e6a370353dca91099
authorIngo Molnar <mingo@elte.hu>
Fri, 25 Jan 2008 20:08:34 +0000 (25 21:08 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 25 Jan 2008 20:08:34 +0000 (25 21:08 +0100)
tree5ca31fef94ed523c3df867ba3472e70d215ffb84
parent90739081ef8d5495d50abba9c5d333be9acd872a
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