OSDN Git Service

x86/tsc_msr: Identify Intel-specific code
authorLen Brown <len.brown@intel.com>
Fri, 17 Jun 2016 05:22:44 +0000 (01:22 -0400)
committerIngo Molnar <mingo@kernel.org>
Sun, 10 Jul 2016 15:00:12 +0000 (17:00 +0200)
commitba8268330dc18d309a39175ea4d2c5d86c2cef09
treec31c3d6907e56df464e6bdc8401d810ee7dcc80c
parentfc5f3ac24720012909c224a63ca3217f4759967d
x86/tsc_msr: Identify Intel-specific code

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

Signed-off-by: Len Brown <len.brown@intel.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1fe23c052826bdcfeb3d45045aa02246078cb5a7.1466138954.git.len.brown@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/tsc_msr.c