x86/apic: Allow use of lapic timer early calibration result
authorJacob Pan <jacob.jun.pan@intel.com>
Thu, 10 Nov 2011 13:42:40 +0000 (13:42 +0000)
committerIngo Molnar <mingo@elte.hu>
Thu, 10 Nov 2011 15:20:57 +0000 (16:20 +0100)
commit1ade93efd0a3dda5b0c0afda8ab8f4bd12938c1b
tree616a2c11fb460b0a872486eb89c30f7884ff33e2
parentbb84ac2d3a603f8f6c7cc553a260e8ceaf871df2
x86/apic: Allow use of lapic timer early calibration result

lapic timer calibration can be combined with tsc in platform
specific calibration functions. if such calibration result is
obtained early, we can skip the redundant calibration loops.

Signed-off-by: Jacob Pan <jacob.jun.pan@intel.com>
Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dirk Brandewie <dirk.brandewie@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/apic.h
arch/x86/kernel/apic/apic.c