From: Jan Beulich Date: Thu, 1 Jun 2017 08:48:04 +0000 (+0200) Subject: x86/MSI: improve memory usage in struct msi_desc X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=ea362dd8da3981a29fe2ab64b377b2e8ab50db71;p=people%2Froyger%2Fxen.git x86/MSI: improve memory usage in struct msi_desc There's no reason to have both a 4-byte hole and 4 bytes of tail padding. Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper --- diff --git a/xen/include/asm-x86/msi.h b/xen/include/asm-x86/msi.h index a5de6a1328..213ee53f72 100644 --- a/xen/include/asm-x86/msi.h +++ b/xen/include/asm-x86/msi.h @@ -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 */ }; /*