x86, tsc, apic: Unbreak static (MSR) calibration when CONFIG_X86_LOCAL_APIC=n
authorH. Peter Anvin <hpa@linux.intel.com>
Thu, 16 Jan 2014 21:00:21 +0000 (13:00 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 16 Jan 2014 21:00:21 +0000 (13:00 -0800)
commitca1e631c3acf80bc5f5934ce9054a9b4880c96e1
treed26644eedbcde617d9e04f9f75b11c12418366f2
parent7da7c1561366ba8adb7275464ab44e84e1faa7e0
x86, tsc, apic: Unbreak static (MSR) calibration when CONFIG_X86_LOCAL_APIC=n

If we aren't going to use the local APIC anyway, we obviously don't
care about its timer frequency.

Link: http://lkml.kernel.org/r/tip-rgm7xmg7k6qnjlw3ynkcjsmh@git.kernel.org
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Cc: Bin Gao <bin.gao@intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/kernel/tsc_msr.c