firewire: fw-sbp2: correctly align page tables
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 1 Jul 2007 11:55:31 +0000 (13:55 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Mon, 9 Jul 2007 22:07:47 +0000 (00:07 +0200)
This is required per SBP-2 clause 5.2.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Acked-by: Kristian Høgsberg <krh@redhat.com>
drivers/firewire/fw-sbp2.c

index 491d9484df1b9aeca573a87acb2567f72c1555c2..212674d723e35a21ac556c0da78805ac8bfb4ee8 100644 (file)
@@ -220,7 +220,7 @@ struct sbp2_command_orb {
        scsi_done_fn_t done;
        struct fw_unit *unit;
 
-       struct sbp2_pointer page_table[SG_ALL];
+       struct sbp2_pointer page_table[SG_ALL] __attribute__((aligned(8)));
        dma_addr_t page_table_bus;
 };