]> git.sur5r.net Git - u-boot/commit
x86: tsc: Rename try_msr_calibrate_tsc() to cpu_mhz_from_msr()
authorBin Meng <bmeng.cn@gmail.com>
Wed, 26 Jul 2017 03:12:05 +0000 (20:12 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 1 Aug 2017 12:17:02 +0000 (20:17 +0800)
commit167a40166bb116a19d23c946b6394636da34f3cf
tree00e3bfcb0ca7c1b8a7acf0ce47a1ee6d01c1df1e
parentf5757154bb2a00d529fa999da44dd18965b70738
x86: tsc: Rename try_msr_calibrate_tsc() to cpu_mhz_from_msr()

Rename try_msr_calibrate_tsc() to cpu_mhz_from_msr(), as that
better describes what the routine does.

This keeps in sync with Linux kernel commit:
  02c0cd2: x86/tsc_msr: Remove irqoff around MSR-based TSC enumeration

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/timer/tsc_timer.c