From: Stefan Richter Date: Sun, 1 Jul 2007 11:55:31 +0000 (+0200) Subject: firewire: fw-sbp2: correctly align page tables X-Git-Tag: v2.6.23-rc1~1199^2~4 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=9fb2dd12c019965ffd15e5a0727af14488b3a772;p=linux-2.6-omap-h63xx.git firewire: fw-sbp2: correctly align page tables This is required per SBP-2 clause 5.2. Signed-off-by: Stefan Richter Acked-by: Kristian Høgsberg --- diff --git a/drivers/firewire/fw-sbp2.c b/drivers/firewire/fw-sbp2.c index 491d9484df1..212674d723e 100644 --- a/drivers/firewire/fw-sbp2.c +++ b/drivers/firewire/fw-sbp2.c @@ -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; };