Commit f29eaf7c authored by Leonid Gasheev's avatar Leonid Gasheev Committed by Philippe Gerum
Browse files

x86: irq_pipeline: fix interrupt vector name for Hyper-V



This fixes the following compilation error:

 CC      arch/x86/hyperv/hv_init.o
In file included from ../arch/x86/hyperv/hv_init.c:18:0:
../arch/x86/hyperv/hv_init.c: In function 'sysvec_hyperv_reenlightenment':
../arch/x86/hyperv/hv_init.c:156:34:
error: 'HYPERVISOR_REENLIGHTENMENT_VECTOR' undeclared (first use in this function);
did you mean 'HYPERV_REENLIGHTENMENT_VECTOR'?
 DEFINE_IDTENTRY_SYSVEC_PIPELINED(HYPERVISOR_REENLIGHTENMENT_VECTOR,

Aligned with the arch/x86/include/asm/irq_vectors.h file
Signed-off-by: Leonid Gasheev's avatarLeonid Gasheev  <vtk-powerlab@yandex.ru>
parent 8f551701
......@@ -153,7 +153,7 @@ static inline bool hv_reenlightenment_available(void)
ms_hyperv.features & HV_X64_ACCESS_REENLIGHTENMENT;
}
DEFINE_IDTENTRY_SYSVEC_PIPELINED(HYPERVISOR_REENLIGHTENMENT_VECTOR,
DEFINE_IDTENTRY_SYSVEC_PIPELINED(HYPERV_REENLIGHTENMENT_VECTOR,
sysvec_hyperv_reenlightenment)
{
ack_APIC_irq();
......
......@@ -695,8 +695,8 @@ DECLARE_IDTENTRY_SYSVEC_PIPELINED(POSTED_INTR_NESTED_VECTOR, sysvec_kvm_posted_i
#if IS_ENABLED(CONFIG_HYPERV)
DECLARE_IDTENTRY_SYSVEC_PIPELINED(HYPERVISOR_CALLBACK_VECTOR, sysvec_hyperv_callback);
DECLARE_IDTENTRY_SYSVEC_PIPELINED(HYPERVISOR_REENLIGHTENMENT_VECTOR, sysvec_hyperv_reenlightenment);
DECLARE_IDTENTRY_SYSVEC_PIPELINED(HYPERVISOR_STIMER0_VECTOR, sysvec_hyperv_stimer0);
DECLARE_IDTENTRY_SYSVEC_PIPELINED(HYPERV_REENLIGHTENMENT_VECTOR, sysvec_hyperv_reenlightenment);
DECLARE_IDTENTRY_SYSVEC_PIPELINED(HYPERV_STIMER0_VECTOR, sysvec_hyperv_stimer0);
#endif
#if IS_ENABLED(CONFIG_ACRN_GUEST)
......
......@@ -132,10 +132,10 @@ static void do_sysvec_inband(struct irq_desc *desc)
case HYPERVISOR_CALLBACK_VECTOR:
__sysvec_hyperv_callback(regs);
break;
case HYPERVISOR_REENLIGHTENMENT_VECTOR:
case HYPERV_REENLIGHTENMENT_VECTOR:
__sysvec_hyperv_reenlightenment(regs);
break;
case HYPERVISOR_STIMER0_VECTOR:
case HYPERV_STIMER0_VECTOR:
__sysvec_hyperv_stimer0(regs);
break;
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment