[ARM] Provide basic printk_clock() implementation
commite97126cd9056b3b42cdc862ace2ed66f8026f55b
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Mon, 8 Jan 2007 19:49:12 +0000 (8 19:49 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 8 Jan 2007 19:50:03 +0000 (8 19:50 +0000)
tree9be88dbac72032d8e20cdd9b4034972dba6657ad
parent6020dff09252e3670a89edb36baaa4afb9b10d15
[ARM] Provide basic printk_clock() implementation

Current sched_clock() implementations on ARM cause unbootable kernels
with PRINTK_TIME support enabled.  To avoid this, provide a basic
printk_clock() implementation which avoids sched_clock() being called
before the page tables have been set up.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/time.c