diff options
author | Maya Nakamura <m.maya.nakamura@gmail.com> | 2019-03-01 01:56:24 -0500 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2019-03-01 06:44:47 -0500 |
commit | 6ae91579061c25f70e4301619ffd16e1b6b5defb (patch) | |
tree | 74d819cd981d3298d4e009ce67bbe16729216de0 /drivers/pci/controller/pci-hyperv.c | |
parent | bfeffd155283772bbe78c6a05dec7c0128ee500c (diff) |
PCI: hv: Add __aligned(8) to struct retarget_msi_interrupt
Because Hyper-V requires that hypercall arguments be aligned on an 8
byte boundary, add __aligned(8) to struct retarget_msi_interrupt.
Link: https://lore.kernel.org/lkml/87k1hlqlby.fsf@vitty.brq.redhat.com/
Signed-off-by: Maya Nakamura <m.maya.nakamura@gmail.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'drivers/pci/controller/pci-hyperv.c')
-rw-r--r-- | drivers/pci/controller/pci-hyperv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/controller/pci-hyperv.c b/drivers/pci/controller/pci-hyperv.c index 9ba4d12c179c..73862eef09ec 100644 --- a/drivers/pci/controller/pci-hyperv.c +++ b/drivers/pci/controller/pci-hyperv.c | |||
@@ -420,7 +420,7 @@ struct retarget_msi_interrupt { | |||
420 | struct hv_interrupt_entry int_entry; | 420 | struct hv_interrupt_entry int_entry; |
421 | u64 reserved2; | 421 | u64 reserved2; |
422 | struct hv_device_interrupt_target int_target; | 422 | struct hv_device_interrupt_target int_target; |
423 | } __packed; | 423 | } __packed __aligned(8); |
424 | 424 | ||
425 | /* | 425 | /* |
426 | * Driver specific state. | 426 | * Driver specific state. |