aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/mshyperv.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/mshyperv.h')
-rw-r--r--arch/x86/include/asm/mshyperv.h13
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);
173void hv_setup_crash_handler(void (*handler)(struct pt_regs *regs)); 173void hv_setup_crash_handler(void (*handler)(struct pt_regs *regs));
174void hv_remove_crash_handler(void); 174void 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 */
180void hv_stimer0_vector_handler(struct pt_regs *regs);
181void hv_stimer0_callback_vector(void);
182int hv_setup_stimer0_irq(int *irq, int *vector, void (*handler)(void));
183void hv_remove_stimer0_irq(int irq);
184
185static inline void hv_enable_stimer0_percpu_irq(int irq) {}
186static inline void hv_disable_stimer0_percpu_irq(int irq) {}
187
188
176#if IS_ENABLED(CONFIG_HYPERV) 189#if IS_ENABLED(CONFIG_HYPERV)
177extern struct clocksource *hyperv_cs; 190extern struct clocksource *hyperv_cs;
178extern void *hv_hypercall_pg; 191extern void *hv_hypercall_pg;