diff options
author | Richard Kennedy <richard@rsk.demon.co.uk> | 2008-09-22 17:47:13 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-09-29 00:28:36 -0400 |
commit | 6866e7bc83f13a1bc6de59099930e9db1ab0042f (patch) | |
tree | aa028533eb6a019d8c1bc7f57ddf945454453f6d /include/linux/libata.h | |
parent | 67e3e221d61c0e70b2f244fd921e5e601d6c7339 (diff) |
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>
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 1f44cfb847e1..947cf84e555d 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -560,8 +560,8 @@ struct ata_ering { | |||
560 | struct ata_device { | 560 | struct ata_device { |
561 | struct ata_link *link; | 561 | struct ata_link *link; |
562 | unsigned int devno; /* 0 or 1 */ | 562 | unsigned int devno; /* 0 or 1 */ |
563 | unsigned long flags; /* ATA_DFLAG_xxx */ | ||
564 | unsigned int horkage; /* List of broken features */ | 563 | unsigned int horkage; /* List of broken features */ |
564 | unsigned long flags; /* ATA_DFLAG_xxx */ | ||
565 | struct scsi_device *sdev; /* attached SCSI device */ | 565 | struct scsi_device *sdev; /* attached SCSI device */ |
566 | #ifdef CONFIG_ATA_ACPI | 566 | #ifdef CONFIG_ATA_ACPI |
567 | acpi_handle acpi_handle; | 567 | acpi_handle acpi_handle; |