diff options
author | Andrew Morton <akpm@osdl.org> | 2005-09-21 16:55:30 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-21 17:11:54 (GMT) |
commit | 31f6d9d628739c097964b8dbae939ea997da94a3 (patch) | |
tree | a559531440fbf6685e68ebce5f5a26695ae7d5d9 /scripts | |
parent | 66dcca062847bcd261ebb3ac96d51101f31a8630 (diff) | |
download | linux-fsl-qoriq-31f6d9d628739c097964b8dbae939ea997da94a3.tar.xz |
[PATCH] Add printk_clock()
ia64's sched_clock() accesses per-cpu data which isn't set up at boot time.
Hence ia64 cannot use printk timestamping, because printk() will crash in
sched_clock().
So make printk() use printk_clock(), defaulting to sched_clock(), overrideable
by the architecture via attribute(weak).
Cc: "Luck, Tony" <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions