asm-generic/hyperv: update hv_interrupt_entry
authorWei Liu <wei.liu@kernel.org>
Wed, 3 Feb 2021 15:04:31 +0000 (15:04 +0000)
committerWei Liu <wei.liu@kernel.org>
Thu, 11 Feb 2021 08:47:06 +0000 (08:47 +0000)
commitb59fb7b60d47b2af3a114daf0ae198aa23921698
treef5f60b6854f5947c64f6ba4a62661f163d212c50
parentd589ae61bc27b2b9aaac0bf20a9077b6fbda32b6
asm-generic/hyperv: update hv_interrupt_entry

We will soon use the same structure to handle IO-APIC interrupts as
well. Introduce an enum to identify the source and a data structure for
IO-APIC RTE.

While at it, update pci-hyperv.c to use the enum.

No functional change.

Signed-off-by: Wei Liu <wei.liu@kernel.org>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/20210203150435.27941-13-wei.liu@kernel.org
drivers/pci/controller/pci-hyperv.c
include/asm-generic/hyperv-tlfs.h