aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/hpsa_cmd.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/scsi/hpsa_cmd.h b/drivers/scsi/hpsa_cmd.h
index cb0c2385f3f6..56fb9827681e 100644
--- a/drivers/scsi/hpsa_cmd.h
+++ b/drivers/scsi/hpsa_cmd.h
@@ -306,11 +306,8 @@ struct CommandList {
306 int cmd_type; 306 int cmd_type;
307 long cmdindex; 307 long cmdindex;
308 struct hlist_node list; 308 struct hlist_node list;
309 struct CommandList *prev;
310 struct CommandList *next;
311 struct request *rq; 309 struct request *rq;
312 struct completion *waiting; 310 struct completion *waiting;
313 int retry_count;
314 void *scsi_cmd; 311 void *scsi_cmd;
315 312
316/* on 64 bit architectures, to get this to be 32-byte-aligned 313/* on 64 bit architectures, to get this to be 32-byte-aligned
@@ -322,8 +319,8 @@ struct CommandList {
322 */ 319 */
323#define IS_32_BIT ((8 - sizeof(long))/4) 320#define IS_32_BIT ((8 - sizeof(long))/4)
324#define IS_64_BIT (!IS_32_BIT) 321#define IS_64_BIT (!IS_32_BIT)
325#define PAD_32 (24) 322#define PAD_32 (4)
326#define PAD_64 (16) 323#define PAD_64 (4)
327#define COMMANDLIST_PAD (IS_32_BIT * PAD_32 + IS_64_BIT * PAD_64) 324#define COMMANDLIST_PAD (IS_32_BIT * PAD_32 + IS_64_BIT * PAD_64)
328 u8 pad[COMMANDLIST_PAD]; 325 u8 pad[COMMANDLIST_PAD];
329}; 326};