diff options
Diffstat (limited to 'include/asm-i386/paravirt.h')
-rw-r--r-- | include/asm-i386/paravirt.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/asm-i386/paravirt.h b/include/asm-i386/paravirt.h index 6ccf36499b2a..12ef95924da6 100644 --- a/include/asm-i386/paravirt.h +++ b/include/asm-i386/paravirt.h | |||
@@ -121,6 +121,8 @@ struct paravirt_ops | |||
121 | void (fastcall *apic_write)(unsigned long reg, unsigned long v); | 121 | void (fastcall *apic_write)(unsigned long reg, unsigned long v); |
122 | void (fastcall *apic_write_atomic)(unsigned long reg, unsigned long v); | 122 | void (fastcall *apic_write_atomic)(unsigned long reg, unsigned long v); |
123 | unsigned long (fastcall *apic_read)(unsigned long reg); | 123 | unsigned long (fastcall *apic_read)(unsigned long reg); |
124 | void (*setup_boot_clock)(void); | ||
125 | void (*setup_secondary_clock)(void); | ||
124 | #endif | 126 | #endif |
125 | 127 | ||
126 | void (fastcall *flush_tlb_user)(void); | 128 | void (fastcall *flush_tlb_user)(void); |
@@ -323,6 +325,16 @@ static inline unsigned long apic_read(unsigned long reg) | |||
323 | { | 325 | { |
324 | return paravirt_ops.apic_read(reg); | 326 | return paravirt_ops.apic_read(reg); |
325 | } | 327 | } |
328 | |||
329 | static inline void setup_boot_clock(void) | ||
330 | { | ||
331 | paravirt_ops.setup_boot_clock(); | ||
332 | } | ||
333 | |||
334 | static inline void setup_secondary_clock(void) | ||
335 | { | ||
336 | paravirt_ops.setup_secondary_clock(); | ||
337 | } | ||
326 | #endif | 338 | #endif |
327 | 339 | ||
328 | #ifdef CONFIG_SMP | 340 | #ifdef CONFIG_SMP |