Browse Source

libata: reorder ata_device to remove 8 bytes of padding on 64 bits

reduce size by 8 bytes from 1160 to 1152 allowing it to fit in 1 fewer
cachelines.

Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Richard Kennedy 16 years ago
parent
commit
6866e7bc83
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/linux/libata.h

+ 1 - 1
include/linux/libata.h

@@ -560,8 +560,8 @@ struct ata_ering {
 struct ata_device {
 struct ata_device {
 	struct ata_link		*link;
 	struct ata_link		*link;
 	unsigned int		devno;		/* 0 or 1 */
 	unsigned int		devno;		/* 0 or 1 */
-	unsigned long		flags;		/* ATA_DFLAG_xxx */
 	unsigned int		horkage;	/* List of broken features */
 	unsigned int		horkage;	/* List of broken features */
+	unsigned long		flags;		/* ATA_DFLAG_xxx */
 	struct scsi_device	*sdev;		/* attached SCSI device */
 	struct scsi_device	*sdev;		/* attached SCSI device */
 #ifdef CONFIG_ATA_ACPI
 #ifdef CONFIG_ATA_ACPI
 	acpi_handle		acpi_handle;
 	acpi_handle		acpi_handle;