mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
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:
parent
736decac64
commit
845b3944bb
17 changed files with 53 additions and 113 deletions
|
@ -12,8 +12,7 @@ unsigned long native_calibrate_tsc(void);
|
|||
|
||||
#ifdef CONFIG_X86_32
|
||||
extern int timer_ack;
|
||||
extern irqreturn_t timer_interrupt(int irq, void *dev_id);
|
||||
#endif /* CONFIG_X86_32 */
|
||||
#endif
|
||||
extern int recalibrate_cpu_khz(void);
|
||||
|
||||
extern int no_timer_check;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue