|
@@ -302,7 +302,13 @@ void hyperv_reenlightenment_intr(struct pt_regs *regs);
|
|
|
void set_hv_tscchange_cb(void (*cb)(void));
|
|
|
void clear_hv_tscchange_cb(void);
|
|
|
void hyperv_stop_tsc_emulation(void);
|
|
|
+
|
|
|
+#ifdef CONFIG_X86_64
|
|
|
void hv_apic_init(void);
|
|
|
+#else
|
|
|
+static inline void hv_apic_init(void) {}
|
|
|
+#endif
|
|
|
+
|
|
|
#else /* CONFIG_HYPERV */
|
|
|
static inline void hyperv_init(void) {}
|
|
|
static inline bool hv_is_hyperv_initialized(void) { return false; }
|
|
@@ -311,7 +317,6 @@ static inline void hyperv_setup_mmu_ops(void) {}
|
|
|
static inline void set_hv_tscchange_cb(void (*cb)(void)) {}
|
|
|
static inline void clear_hv_tscchange_cb(void) {}
|
|
|
static inline void hyperv_stop_tsc_emulation(void) {};
|
|
|
-static inline void hv_apic_init(void) {}
|
|
|
static inline struct hv_vp_assist_page *hv_get_vp_assist_page(unsigned int cpu)
|
|
|
{
|
|
|
return NULL;
|