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>
This commit is contained in:
@@ -54,7 +54,6 @@ extern void time_init(void);
|
||||
|
||||
#define get_wallclock() native_get_wallclock()
|
||||
#define set_wallclock(x) native_set_wallclock(x)
|
||||
#define choose_time_init() hpet_time_init
|
||||
|
||||
#endif /* CONFIG_PARAVIRT */
|
||||
|
||||
|
Reference in New Issue
Block a user