• Tony Luck's avatar
    [IA64] Fix CONFIG_PRINTK_TIME · d6e56a2a
    Tony Luck authored
    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: default avatarTony Luck <tony.luck@intel.com>
    d6e56a2a
setup.c 20.1 KB