Skip to content

Commit

Permalink
firewire: fw-sbp2: correctly align page tables
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stefan Richter committed Jul 9, 2007
1 parent e7cdf23 commit 9fb2dd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/firewire/fw-sbp2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down

0 comments on commit 9fb2dd1

Please sign in to comment.