提交 9fb2dd12 编写于 作者: S Stefan Richter

firewire: fw-sbp2: correctly align page tables

This is required per SBP-2 clause 5.2.
Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
Acked-by: NKristian Høgsberg <krh@redhat.com>
上级 e7cdf237
...@@ -220,7 +220,7 @@ struct sbp2_command_orb { ...@@ -220,7 +220,7 @@ struct sbp2_command_orb {
scsi_done_fn_t done; scsi_done_fn_t done;
struct fw_unit *unit; 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; dma_addr_t page_table_bus;
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册