]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[IA64] Fix CONFIG_PRINTK_TIME
authorTony Luck <tony.luck@intel.com>
Tue, 7 Feb 2006 23:25:57 +0000 (15:25 -0800)
committerTony Luck <tony.luck@intel.com>
Tue, 7 Feb 2006 23:25:57 +0000 (15:25 -0800)
commitd6e56a2a088935f3c1feee5ff5a06c67f2ec6002
treeab9fd17a56f81a7662aab8f135be7ed0f3c707c5
parent9d78f43d1fd3e028bfd37510ce847d0896f71f78
[IA64] Fix CONFIG_PRINTK_TIME

There were two problems with enabling the PRINTK_TIME config
option:
1) The first calls to printk() occur before per-cpu data virtual
address is pinned into the TLB, so sched_clock() can fault.
2) sched_clock() is based on ar.itc, which may not be synchronized
across cpus.

Ken Chen started this patch, Tony Luck tinkered with it, and Jes
Sorensen perfected it.

Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/head.S
arch/ia64/kernel/setup.c
arch/ia64/kernel/time.c
arch/ia64/sn/kernel/setup.c