Commit 19b4c542 authored by Jeff Garzik's avatar Jeff Garzik

[ata] remove 'packed' attributed from struct ata_prd

It's not needed, and it generates very poor code on some platforms.

Noticed by Bart and David Miller.
parent 7d187418
...@@ -192,7 +192,7 @@ enum ata_ioctls { ...@@ -192,7 +192,7 @@ enum ata_ioctls {
struct ata_prd { struct ata_prd {
u32 addr; u32 addr;
u32 flags_len; u32 flags_len;
} __attribute__((packed)); };
struct ata_taskfile { struct ata_taskfile {
unsigned long flags; /* ATA_TFLAG_xxx */ unsigned long flags; /* ATA_TFLAG_xxx */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment