diff options
author | Christoph Hellwig <[email protected]> | 2021-04-29 22:57:32 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2021-04-30 11:20:39 -0700 |
commit | 1fbaf8fc12a0136c7e62e7ad6fe886fe1749912c (patch) | |
tree | 272f224698d871cd2ff65a5fc1fefb02de87fbcc /lib/mpi/mpicoder.c | |
parent | 74ffa5a3e68504dd289135b1cf0422c19ffb3f2e (diff) |
mm: add a io_mapping_map_user helper
Add a helper that calls remap_pfn_range for an struct io_mapping, relying
on the pgprot pre-validation done when creating the mapping instead of
doing it at runtime.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Christoph Hellwig <[email protected]>
Cc: Chris Wilson <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Jani Nikula <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Rodrigo Vivi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions