xen/x86: move x86-only variable out of common

Commit 27c36a12f1 is an x86-only feature.  As such xen_evtchn_needs_ack
should only exist on x86.

Differential Revision: https://reviews.freebsd.org/D29913
Reviewed by: royger
[royger]: adjust comment.
This commit is contained in:
Elliott Mitchell 2021-02-13 22:46:09 -08:00 committed by Roger Pau Monné
parent 1b43b74963
commit c5c26f15f8
2 changed files with 3 additions and 1 deletions

View file

@ -43,6 +43,9 @@
/* If non-zero, the hypervisor has been configured to use a direct vector */
extern int xen_vector_callback_enabled;
/* Signal whether the event channel vector requires EOI at the lapic */
extern bool xen_evtchn_needs_ack;
/* tunable for disabling PV disks */
extern int xen_disable_pv_disks;

View file

@ -102,6 +102,5 @@ void xen_hvm_suspend(void);
void xen_hvm_resume(bool suspend_cancelled);
extern uint32_t hvm_start_flags;
extern bool xen_evtchn_needs_ack;
#endif /* __XEN_HVM_H__ */