Browse Source

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>
Stefan Richter 18 years ago
parent
commit
9fb2dd12c0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/firewire/fw-sbp2.c

+ 1 - 1
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;
 };