diff options
author | Christoph Hellwig <hch@lst.de> | 2015-08-07 19:15:11 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-08-17 17:12:51 +0300 |
commit | 10c95ed9aa2970e05fedb4ac8b3ce1b934dab17b (patch) | |
tree | 1d95c738627ea9d01c90e831a5676766458444c0 /drivers/crypto/sahara.c | |
parent | 0048b4837affd153897ed1222283492070027aa9 (diff) | |
download | linux-10c95ed9aa2970e05fedb4ac8b3ce1b934dab17b.tar.xz |
scatterlist: allow limited chaining without ARCH_HAS_SG_CHAIN
There are a couple of uses of struct scatterlist that never go to
the dma_map_sg() helper and thus don't care about ARCH_HAS_SG_CHAIN
which indicates that we can map chained S/G list.
The most important one is the crypto code, which currently has
to open code a few helpers to always allow chaining. This patch
removes a few #ifdef ARCH_HAS_SG_CHAIN statements so that we can
switch the crypto code to these common helpers.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/crypto/sahara.c')
0 files changed, 0 insertions, 0 deletions