cciss: change pad value from 32 to 0
Change the command padding on 32-bit systems to 0 since setting it to 32 has the identical effect. Signed-off-by: Mike Miller <mike.miller@hp.com> Cc: Stephen M. Cameron <scameron@beardog.cce.hp.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
This commit is contained in:
parent
b0dd5cad3a
commit
f3bcb14332
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ typedef struct _SGDescriptor_struct {
|
|||
#define COMMANDLIST_ALIGNMENT (32)
|
||||
#define IS_64_BIT ((sizeof(long) - 4)/4)
|
||||
#define IS_32_BIT (!IS_64_BIT)
|
||||
#define PAD_32 (32)
|
||||
#define PAD_32 (0)
|
||||
#define PAD_64 (4)
|
||||
#define PADSIZE (IS_32_BIT * PAD_32 + IS_64_BIT * PAD_64)
|
||||
#define DIRECT_LOOKUP_BIT 0x10
|
||||
|
|
Loading…
Reference in a new issue