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>hifive-unleashed-5.1
parent
67e3e221d6
commit
6866e7bc83
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue