mshyperv.h (aaccf3c97418f169afdbb5855e9cbcbda34e90fd) | mshyperv.h (3a025de64bf89c84a79909069e3c24ad9e710d27) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _ASM_X86_MSHYPER_H 3#define _ASM_X86_MSHYPER_H 4 5#include <linux/types.h> 6#include <linux/atomic.h> 7#include <linux/nmi.h> 8#include <asm/io.h> --- 337 unchanged lines hidden (view full) --- 346void hyperv_reenlightenment_intr(struct pt_regs *regs); 347void set_hv_tscchange_cb(void (*cb)(void)); 348void clear_hv_tscchange_cb(void); 349void hyperv_stop_tsc_emulation(void); 350int hyperv_flush_guest_mapping(u64 as); 351 352#ifdef CONFIG_X86_64 353void hv_apic_init(void); | 1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _ASM_X86_MSHYPER_H 3#define _ASM_X86_MSHYPER_H 4 5#include <linux/types.h> 6#include <linux/atomic.h> 7#include <linux/nmi.h> 8#include <asm/io.h> --- 337 unchanged lines hidden (view full) --- 346void hyperv_reenlightenment_intr(struct pt_regs *regs); 347void set_hv_tscchange_cb(void (*cb)(void)); 348void clear_hv_tscchange_cb(void); 349void hyperv_stop_tsc_emulation(void); 350int hyperv_flush_guest_mapping(u64 as); 351 352#ifdef CONFIG_X86_64 353void hv_apic_init(void); |
354void __init hv_init_spinlocks(void); 355bool hv_vcpu_is_preempted(int vcpu); |
|
354#else 355static inline void hv_apic_init(void) {} 356#endif 357 358#else /* CONFIG_HYPERV */ 359static inline void hyperv_init(void) {} 360static inline bool hv_is_hyperv_initialized(void) { return false; } 361static inline void hyperv_cleanup(void) {} --- 81 unchanged lines hidden --- | 356#else 357static inline void hv_apic_init(void) {} 358#endif 359 360#else /* CONFIG_HYPERV */ 361static inline void hyperv_init(void) {} 362static inline bool hv_is_hyperv_initialized(void) { return false; } 363static inline void hyperv_cleanup(void) {} --- 81 unchanged lines hidden --- |