mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 21:24:08 +08:00
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>
This commit is contained in:
parent
e7cdf237b2
commit
9fb2dd12c0
@ -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;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user