File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -359,6 +359,11 @@ static inline void apic_eoi(void)
359
359
apic -> eoi ();
360
360
}
361
361
362
+ static inline void apic_native_eoi (void )
363
+ {
364
+ apic -> native_eoi ();
365
+ }
366
+
362
367
static inline u64 apic_icr_read (void )
363
368
{
364
369
return apic -> icr_read ();
@@ -397,6 +402,7 @@ static inline void apic_icr_write(u32 low, u32 high) { }
397
402
static inline void apic_wait_icr_idle (void ) { }
398
403
static inline u32 safe_apic_wait_icr_idle (void ) { return 0 ; }
399
404
static inline void apic_set_eoi_cb (void (* eoi )(void )) {}
405
+ static inline void apic_native_eoi (void ) { WARN_ON_ONCE (1 ); }
400
406
401
407
#endif /* CONFIG_X86_LOCAL_APIC */
402
408
Original file line number Diff line number Diff line change @@ -343,7 +343,7 @@ static notrace void kvm_guest_apic_eoi_write(void)
343
343
*/
344
344
if (__test_and_clear_bit (KVM_PV_EOI_BIT , this_cpu_ptr (& kvm_apic_eoi )))
345
345
return ;
346
- apic -> native_eoi ();
346
+ apic_native_eoi ();
347
347
}
348
348
349
349
static void kvm_guest_cpu_init (void )
You can’t perform that action at this time.
0 commit comments