struct hv_partition_assist_pg {
        u32 tlb_lock_count;
 };
+
+struct hv_interrupt_entry {
+       u32 source;                     /* 1 for MSI(-X) */
+       u32 reserved1;
+       u32 address;
+       u32 data;
+} __packed;
+
+/*
+ * flags for hv_device_interrupt_target.flags
+ */
+#define HV_DEVICE_INTERRUPT_TARGET_MULTICAST           1
+#define HV_DEVICE_INTERRUPT_TARGET_PROCESSOR_SET       2
+
+struct hv_device_interrupt_target {
+       u32 vector;
+       u32 flags;
+       union {
+               u64 vp_mask;
+               struct hv_vpset vp_set;
+       };
+} __packed;
+
+/* HvRetargetDeviceInterrupt hypercall */
+struct hv_retarget_device_interrupt {
+       u64 partition_id;               /* use "self" */
+       u64 device_id;
+       struct hv_interrupt_entry int_entry;
+       u64 reserved2;
+       struct hv_device_interrupt_target int_target;
+} __packed __aligned(8);
 #endif
 
 
 static int pci_ring_size = (4 * PAGE_SIZE);
 
-struct hv_interrupt_entry {
-       u32     source;                 /* 1 for MSI(-X) */
-       u32     reserved1;
-       u32     address;
-       u32     data;
-};
-
-/*
- * flags for hv_device_interrupt_target.flags
- */
-#define HV_DEVICE_INTERRUPT_TARGET_MULTICAST           1
-#define HV_DEVICE_INTERRUPT_TARGET_PROCESSOR_SET       2
-
-struct hv_device_interrupt_target {
-       u32     vector;
-       u32     flags;
-       union {
-               u64              vp_mask;
-               struct hv_vpset vp_set;
-       };
-};
-
-struct retarget_msi_interrupt {
-       u64     partition_id;           /* use "self" */
-       u64     device_id;
-       struct hv_interrupt_entry int_entry;
-       u64     reserved2;
-       struct hv_device_interrupt_target int_target;
-} __packed __aligned(8);
-
 /*
  * Driver specific state.
  */
        struct workqueue_struct *wq;
 
        /* hypercall arg, must not cross page boundary */
-       struct retarget_msi_interrupt retarget_msi_interrupt_params;
+       struct hv_retarget_device_interrupt retarget_msi_interrupt_params;
 
        /*
         * Don't put anything here: retarget_msi_interrupt_params must be last
 {
        struct msi_desc *msi_desc = irq_data_get_msi_desc(data);
        struct irq_cfg *cfg = irqd_cfg(data);
-       struct retarget_msi_interrupt *params;
+       struct hv_retarget_device_interrupt *params;
        struct hv_pcibus_device *hbus;
        struct cpumask *dest;
        cpumask_var_t tmp;