From: Andrew Morton Date: Wed, 21 Sep 2005 16:55:30 +0000 (-0700) Subject: [PATCH] Add printk_clock() X-Git-Tag: v2.6.14-rc3~145 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31f6d9d628739c097964b8dbae939ea997da94a3;p=pandora-kernel.git [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" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed