summaryrefslogtreecommitdiff
path: root/drivers/firewire
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2007-07-01 13:55:31 +0200
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-07-10 00:07:47 +0200
commit9fb2dd12c019965ffd15e5a0727af14488b3a772 (patch)
tree4d0209e6b3cbfd0d683235abb92dd3740ca0ebe5 /drivers/firewire
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>
Diffstat (limited to 'drivers/firewire')
-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 {
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;
};