diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-07-01 13:55:31 +0200 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-07-10 00:07:47 +0200 |
commit | 9fb2dd12c019965ffd15e5a0727af14488b3a772 (patch) | |
tree | 4d0209e6b3cbfd0d683235abb92dd3740ca0ebe5 /drivers | |
parent | e7cdf237b2a8b4b566721cfb08e448b454c74ada (diff) | |
download | op-kernel-dev-9fb2dd12c019965ffd15e5a0727af14488b3a772.zip op-kernel-dev-9fb2dd12c019965ffd15e5a0727af14488b3a772.tar.gz |
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')
-rw-r--r-- | drivers/firewire/fw-sbp2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firewire/fw-sbp2.c b/drivers/firewire/fw-sbp2.c index 491d948..212674d7 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; }; |