diff options
author | Christoph Hellwig <[email protected]> | 2018-09-20 13:26:13 +0200 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2018-10-01 07:27:15 -0700 |
commit | a20bb058375147cb639c7aa17ef86ad68b32d847 (patch) | |
tree | fb2e006f2c9bd963f515fdeeb99c12adf6ded318 /lib/memory-notifier-error-inject.c | |
parent | c6d4381220a0087ce19dbf6984d92c451bd6b364 (diff) |
dma-direct: add an explicit dma_direct_get_required_mask
This is somewhat modelled after the powerpc version, and differs from
the legacy fallback in use fls64 instead of pointlessly splitting up the
address into low and high dwords and in that it takes (__)phys_to_dma
into account.
Signed-off-by: Christoph Hellwig <[email protected]>
Acked-by: Benjamin Herrenschmidt <[email protected]>
Reviewed-by: Robin Murphy <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions