]> xenbits.xensource.com Git - people/royger/xen.git/commitdiff
x86/MSI: improve memory usage in struct msi_desc
authorJan Beulich <jbeulich@suse.com>
Thu, 1 Jun 2017 08:48:04 +0000 (10:48 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 1 Jun 2017 08:48:04 +0000 (10:48 +0200)
There's no reason to have both a 4-byte hole and 4 bytes of tail
padding.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/include/asm-x86/msi.h

index a5de6a1328e45a87769eb43ab528bce3c38713ab..213ee53f7278792eca8c7d33acac1c1a9e2b04c9 100644 (file)
@@ -119,10 +119,9 @@ struct msi_desc {
        };
        struct pci_dev *dev;
        int irq;
+       int remap_index;                /* index in interrupt remapping table */
 
        struct msi_msg msg;             /* Last set MSI message */
-
-       int remap_index;                /* index in interrupt remapping table */
 };
 
 /*