.. | .. |
---|
37 | 37 | #ifdef CONFIG_X86_MCE_AMD |
---|
38 | 38 | unsigned int irq_deferred_error_count; |
---|
39 | 39 | #endif |
---|
40 | | -#if IS_ENABLED(CONFIG_HYPERV) || defined(CONFIG_XEN) |
---|
| 40 | +#ifdef CONFIG_X86_HV_CALLBACK_VECTOR |
---|
41 | 41 | unsigned int irq_hv_callback_count; |
---|
42 | 42 | #endif |
---|
43 | 43 | #if IS_ENABLED(CONFIG_HYPERV) |
---|
.. | .. |
---|
67 | 67 | __this_cpu_write(irq_stat.kvm_cpu_l1tf_flush_l1d, 1); |
---|
68 | 68 | } |
---|
69 | 69 | |
---|
70 | | -static inline void kvm_clear_cpu_l1tf_flush_l1d(void) |
---|
| 70 | +static __always_inline void kvm_clear_cpu_l1tf_flush_l1d(void) |
---|
71 | 71 | { |
---|
72 | 72 | __this_cpu_write(irq_stat.kvm_cpu_l1tf_flush_l1d, 0); |
---|
73 | 73 | } |
---|
74 | 74 | |
---|
75 | | -static inline bool kvm_get_cpu_l1tf_flush_l1d(void) |
---|
| 75 | +static __always_inline bool kvm_get_cpu_l1tf_flush_l1d(void) |
---|
76 | 76 | { |
---|
77 | 77 | return __this_cpu_read(irq_stat.kvm_cpu_l1tf_flush_l1d); |
---|
78 | 78 | } |
---|