aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2007-07-01 07:55:31 -0400
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-07-09 18:07:47 -0400
commit9fb2dd12c019965ffd15e5a0727af14488b3a772 (patch)
tree4d0209e6b3cbfd0d683235abb92dd3740ca0ebe5
parente7cdf237b2a8b4b566721cfb08e448b454c74ada (diff)
firewire: fw-sbp2: correctly align page tables
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>
-rw-r--r--drivers/firewire/fw-sbp2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firewire/fw-sbp2.c b/drivers/firewire/fw-sbp2.c
index 491d9484df1b..212674d723e3 100644
--- a/drivers/firewire/fw-sbp2.c
+++ b/drivers/firewire/fw-sbp2.c
@@ -220,7 +220,7 @@ struct sbp2_command_orb {
220 scsi_done_fn_t done; 220 scsi_done_fn_t done;
221 struct fw_unit *unit; 221 struct fw_unit *unit;
222 222
223 struct sbp2_pointer page_table[SG_ALL]; 223 struct sbp2_pointer page_table[SG_ALL] __attribute__((aligned(8)));
224 dma_addr_t page_table_bus; 224 dma_addr_t page_table_bus;
225}; 225};
226 226