Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 188309
b: refs/heads/master
c: 43aebfa
h: refs/heads/master
i:
  188307: 6610e72
v: v3
  • Loading branch information
Stephen M. Cameron authored and James Bottomley committed Mar 3, 2010
1 parent 49e8b50 commit 1c4a823
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 33a2ffce51d9598380d73c515a27fc6cff3bd9c4
refs/heads/master: 43aebfa12e7631124472237dc945c27af54ca646
7 changes: 2 additions & 5 deletions trunk/drivers/scsi/hpsa_cmd.h
Original file line number Diff line number Diff line change
Expand Up @@ -306,11 +306,8 @@ struct CommandList {
int cmd_type;
long cmdindex;
struct hlist_node list;
struct CommandList *prev;
struct CommandList *next;
struct request *rq;
struct completion *waiting;
int retry_count;
void *scsi_cmd;

/* on 64 bit architectures, to get this to be 32-byte-aligned
Expand All @@ -322,8 +319,8 @@ struct CommandList {
*/
#define IS_32_BIT ((8 - sizeof(long))/4)
#define IS_64_BIT (!IS_32_BIT)
#define PAD_32 (24)
#define PAD_64 (16)
#define PAD_32 (4)
#define PAD_64 (4)
#define COMMANDLIST_PAD (IS_32_BIT * PAD_32 + IS_64_BIT * PAD_64)
u8 pad[COMMANDLIST_PAD];
};
Expand Down

0 comments on commit 1c4a823

Please sign in to comment.