]> git.baikalelectronics.ru Git - kernel.git/commit
libata: reorder ata_queued_cmd to remove alignment padding on 64 bit builds
authorRichard Kennedy <richard@rsk.demon.co.uk>
Fri, 10 Sep 2010 11:19:43 +0000 (12:19 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 22 Oct 2010 00:21:05 +0000 (20:21 -0400)
commitaba393a4335cda8df13ebae6164b39dc5aab9626
tree2034e09265b646d9e74bbb1165fc221b3f39cfcd
parent2a268c220951d8f645a4d234b1e8a3c5741d7d09
libata: reorder ata_queued_cmd to remove alignment padding on 64 bit builds

Reorder structure ata_queued_cmd to remove 8 bytes of alignment padding
on 64 bit builds & therefore reduce the size of structure ata_port by
256 bytes.

Overall this will have little impact, other than reducing the amount of
memory that is cleared when allocating ata_ports.

Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
include/linux/libata.h