diff options
author | Bart Van Assche | 2017-08-17 13:13:06 -0700 |
---|---|---|
committer | Jens Axboe | 2017-08-18 08:45:29 -0600 |
commit | 6507f436f92c37a7963bf0d55df7b673d8d6f533 (patch) | |
tree | b4e1001d3f89f967dab4544859b955f107ee1095 /drivers/block/skd_s1120.h | |
parent | fe4fd7235a0cfc7a98139068f6ce82ee3d813684 (diff) |
skd: Simplify the code for allocating DMA message buffers
dma_alloc_coherent() guarantees alignment on a page boundary so
no explicit alignment is needed to align on a 64 byte boundary.
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/skd_s1120.h')
-rw-r--r-- | drivers/block/skd_s1120.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/skd_s1120.h b/drivers/block/skd_s1120.h index f69d3d97744d..8044705cbbf9 100644 --- a/drivers/block/skd_s1120.h +++ b/drivers/block/skd_s1120.h @@ -28,7 +28,7 @@ #define FIT_QCMD_MSGSIZE_128 (0x1 << 4) #define FIT_QCMD_MSGSIZE_256 (0x2 << 4) #define FIT_QCMD_MSGSIZE_512 (0x3 << 4) -#define FIT_QCMD_BASE_ADDRESS_MASK (0xFFFFFFFFFFFFFFC0ull) +#define FIT_QCMD_ALIGN L1_CACHE_BYTES /* * Control, 32-bit r/w |