x86: Add timer_init to x86_init_ops
authorThomas Gleixner <tglx@linutronix.de>
Wed, 19 Aug 2009 13:37:03 +0000 (15:37 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 31 Aug 2009 07:35:46 +0000 (09:35 +0200)
commit845b3944bbdf9e9247849bf037f27ff3a3f26d87
treeb14b40b5ba650996c646ed760cfa4b3283e04953
parent736decac643e8982655e22ac7f0e5e61c5b7f9bd
x86: Add timer_init to x86_init_ops

The timer init code is convoluted with several quirks and the paravirt
timer chooser. Figuring out which code path is actually taken is not
for the faint hearted.

Move the numaq TSC quirk to tsc_pre_init x86_init_ops function and
replace the paravirt time chooser and the remaining x86 quirk with a
simple x86_init_ops function.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
17 files changed:
arch/x86/include/asm/paravirt.h
arch/x86/include/asm/paravirt_types.h
arch/x86/include/asm/setup.h
arch/x86/include/asm/time.h
arch/x86/include/asm/timer.h
arch/x86/include/asm/x86_init.h
arch/x86/kernel/apic/numaq_32.c
arch/x86/kernel/paravirt.c
arch/x86/kernel/setup.c
arch/x86/kernel/time_32.c
arch/x86/kernel/time_64.c
arch/x86/kernel/tsc.c
arch/x86/kernel/visws_quirks.c
arch/x86/kernel/vmi_32.c
arch/x86/kernel/x86_init.c
arch/x86/lguest/boot.c
arch/x86/xen/enlighten.c