x86: Move tsc_calibration to x86_init_ops
authorThomas Gleixner <tglx@linutronix.de>
Thu, 20 Aug 2009 15:06:25 +0000 (17:06 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 31 Aug 2009 07:35:47 +0000 (09:35 +0200)
commit2d826404f0bdcac2a4dd7e3c446b70d6a3b63b78
tree7db2dc0fbde3a25a89f1fc1514152567f612ccde
parent47926214d8b2bef13b2be57c500194a804f16198
x86: Move tsc_calibration to x86_init_ops

TSC calibration is modified by the vmware hypervisor and paravirt by
separate means. Moorestown wants to add its own calibration routine as
well. So make calibrate_tsc a proper x86_init_ops function and
override it by paravirt or by the early setup of the vmware
hypervisor.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
17 files changed:
arch/x86/include/asm/hypervisor.h
arch/x86/include/asm/paravirt.h
arch/x86/include/asm/timer.h
arch/x86/include/asm/tsc.h
arch/x86/include/asm/vmware.h
arch/x86/include/asm/x86_init.h
arch/x86/kernel/cpu/hypervisor.c
arch/x86/kernel/cpu/vmware.c
arch/x86/kernel/kvmclock.c
arch/x86/kernel/paravirt.c
arch/x86/kernel/setup.c
arch/x86/kernel/tsc.c
arch/x86/kernel/vmi_32.c
arch/x86/kernel/vmiclock_32.c
arch/x86/kernel/x86_init.c
arch/x86/lguest/boot.c
arch/x86/xen/enlighten.c