x86: tsc: Identify Intel-specific code
authorBin Meng <bmeng.cn@gmail.com>
Wed, 26 Jul 2017 03:12:01 +0000 (20:12 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 1 Aug 2017 12:17:02 +0000 (20:17 +0800)
commit0b992e4932303b0a379f590f67ec9759fc97275e
tree9cfd3fca8d2935e6697c9a1f4b3afc079eee7ab0
parentd92e9c8d313134f2ebde14a393f820b2191f4011
x86: tsc: Identify Intel-specific code

try_msr_calibrate_tsc() is currently Intel-specific, and should not
execute on any other vendor's parts.

This keeps in sync with Linux kernel commit:
  ba82683: x86/tsc_msr: Identify Intel-specific code

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