aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorMike Miller <mike.miller@hp.com>2010-06-11 07:13:36 -0400
committerJens Axboe <jaxboe@fusionio.com>2010-08-07 12:15:29 -0400
commitf3bcb14332a5881c88f8cd16ed59f3fd0ae26e12 (patch)
tree4b9da62a92bd9d175d08d744f60894ba0d2f88de /drivers/block
parentb0dd5cad3a3297415f8205135d37f22da12b9083 (diff)
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>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/cciss_cmd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/cciss_cmd.h b/drivers/block/cciss_cmd.h
index eda6a8e6b600..936b9666da6a 100644
--- a/drivers/block/cciss_cmd.h
+++ b/drivers/block/cciss_cmd.h
@@ -177,7 +177,7 @@ typedef struct _SGDescriptor_struct {
177#define COMMANDLIST_ALIGNMENT (32) 177#define COMMANDLIST_ALIGNMENT (32)
178#define IS_64_BIT ((sizeof(long) - 4)/4) 178#define IS_64_BIT ((sizeof(long) - 4)/4)
179#define IS_32_BIT (!IS_64_BIT) 179#define IS_32_BIT (!IS_64_BIT)
180#define PAD_32 (32) 180#define PAD_32 (0)
181#define PAD_64 (4) 181#define PAD_64 (4)
182#define PADSIZE (IS_32_BIT * PAD_32 + IS_64_BIT * PAD_64) 182#define PADSIZE (IS_32_BIT * PAD_32 + IS_64_BIT * PAD_64)
183#define DIRECT_LOOKUP_BIT 0x10 183#define DIRECT_LOOKUP_BIT 0x10