diff options
Diffstat (limited to 'arch/x86/include/asm/mshyperv.h')
-rw-r--r-- | arch/x86/include/asm/mshyperv.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/x86/include/asm/mshyperv.h b/arch/x86/include/asm/mshyperv.h index 25283f7eb299..e73c4d0c06ad 100644 --- a/arch/x86/include/asm/mshyperv.h +++ b/arch/x86/include/asm/mshyperv.h | |||
@@ -173,6 +173,19 @@ void hv_remove_kexec_handler(void); | |||
173 | void hv_setup_crash_handler(void (*handler)(struct pt_regs *regs)); | 173 | void hv_setup_crash_handler(void (*handler)(struct pt_regs *regs)); |
174 | void hv_remove_crash_handler(void); | 174 | void hv_remove_crash_handler(void); |
175 | 175 | ||
176 | /* | ||
177 | * Routines for stimer0 Direct Mode handling. | ||
178 | * On x86/x64, there are no percpu actions to take. | ||
179 | */ | ||
180 | void hv_stimer0_vector_handler(struct pt_regs *regs); | ||
181 | void hv_stimer0_callback_vector(void); | ||
182 | int hv_setup_stimer0_irq(int *irq, int *vector, void (*handler)(void)); | ||
183 | void hv_remove_stimer0_irq(int irq); | ||
184 | |||
185 | static inline void hv_enable_stimer0_percpu_irq(int irq) {} | ||
186 | static inline void hv_disable_stimer0_percpu_irq(int irq) {} | ||
187 | |||
188 | |||
176 | #if IS_ENABLED(CONFIG_HYPERV) | 189 | #if IS_ENABLED(CONFIG_HYPERV) |
177 | extern struct clocksource *hyperv_cs; | 190 | extern struct clocksource *hyperv_cs; |
178 | extern void *hv_hypercall_pg; | 191 | extern void *hv_hypercall_pg; |