• Alok Kataria's avatar
    x86: use cpu_khz for loops_per_jiffy calculation, cleanup · f3f3149f
    Alok Kataria authored
    As suggested by Ingo, remove all references to tsc from init/calibrate.c
    
    TSC is x86 specific, and using tsc in variable names in a generic file should
    be avoided. lpj_tsc is now called lpj_fine, since it is related to fine tuning
    of lpj value. Also tsc_rate_*  is called timer_rate_*
    Signed-off-by: default avatarAlok N Kataria <akataria@vmware.com>
    Cc: Arjan van de Ven <arjan@infradead.org>
    Cc: Daniel Hecht <dhecht@vmware.com>
    Cc: Tim Mann <mann@vmware.com>
    Cc: Zach Amsden <zach@vmware.com>
    Cc: Sahil Rihan <srihan@vmware.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    f3f3149f
calibrate.c 5 KB