x86/tsc: Convert to use x86_match_cpu() and INTEL_CPU_FAM6()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 29 Jun 2018 19:31:09 +0000 (22:31 +0300)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 3 Jul 2018 11:08:20 +0000 (13:08 +0200)
commit397d3ad18dc431456baf8bce96606fa1d18b30b0
treea70daff96a42a587d01933a693f0f02b48371ae1
parente2ce67b2b34b6e9d77da2f375dba5b525508f7df
x86/tsc: Convert to use x86_match_cpu() and INTEL_CPU_FAM6()

Move the code to use recently introduced INTEL_CPU_FAM6() macro and
drop custom version of x86_match_cpu() function.

No functional change intended.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Pavel Tatashin <pasha.tatashin@oracle.com>
Link: https://lkml.kernel.org/r/20180629193113.84425-3-andriy.shevchenko@linux.intel.com
arch/x86/kernel/tsc_msr.c