mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
xen/ioreq: Fix check for CONFIG_ARCH_VCPU_IOREQ_COMPLETION
It should be CONFIG_ARCH_VCPU_IOREQ_COMPLETION (as in Kconfig) and not
misspelled CONFIG_VCPU_ARCH_IOREQ_COMPLETION.
Fixes: 979cfdd3e5 ("ioreq: do not build arch_vcpu_ioreq_completion() for non-VMX configurations")
Signed-off-by: Sergiy Kibrik <Sergiy_Kibrik@epam.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
This commit is contained in:
1 parent
e6472d4668
commit
e547f730e8
2 files changed
+2
-2
No files matched your search
@@ -29,7 +29,7 @@ bool arch_ioreq_complete_mmio(void)
|
||||
return handle_mmio();
|
||||
}
|
||||
|
||||
#ifdef CONFIG_VCPU_ARCH_IOREQ_COMPLETION
|
||||
#ifdef CONFIG_ARCH_VCPU_IOREQ_COMPLETION
|
||||
bool arch_vcpu_ioreq_completion(enum vio_completion completion)
|
||||
{
|
||||
switch ( completion )
|
||||
|
||||
@@ -112,7 +112,7 @@ int ioreq_server_dm_op(struct xen_dm_op *op, struct domain *d, bool *const_op);
|
||||
|
||||
bool arch_ioreq_complete_mmio(void);
|
||||
|
||||
#ifdef CONFIG_VCPU_ARCH_IOREQ_COMPLETION
|
||||
#ifdef CONFIG_ARCH_VCPU_IOREQ_COMPLETION
|
||||
bool arch_vcpu_ioreq_completion(enum vio_completion completion);
|
||||
#else
|
||||
static inline bool arch_vcpu_ioreq_completion(enum vio_completion completion)
|
||||
|
||||