From: Richard Kennedy Date: Mon, 22 Sep 2008 21:47:13 +0000 (-0700) Subject: libata: reorder ata_device to remove 8 bytes of padding on 64 bits X-Git-Tag: v2.6.28-rc1~736^2~3 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=6866e7bc83f13a1bc6de59099930e9db1ab0042f;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik --- diff --git a/include/linux/libata.h b/include/linux/libata.h index 1f44cfb847e..947cf84e555 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h @@ -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;