libata: reorder ata_device to remove 8 bytes of padding on 64 bits
authorRichard Kennedy <richard@rsk.demon.co.uk>
Mon, 22 Sep 2008 21:47:13 +0000 (14:47 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Mon, 29 Sep 2008 04:28:36 +0000 (00:28 -0400)
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>
include/linux/libata.h

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