diff options
author | Yajun Deng <[email protected]> | 2024-01-10 16:46:22 +0800 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-02-21 16:00:02 -0800 |
commit | 30afc8c34290184c023fa79136ce5f8813fc73da (patch) | |
tree | 851d4eb82655ff68eea34e72a0bfa38b354ab686 /include/linux/fpga/fpga-mgr.h | |
parent | 0040f2c5531fe852505b3786992e41a5b40f8db6 (diff) |
mm/mmap: simplify vma link and unlink
The file parameter in the __remove_shared_vm_struct is no longer used,
remove it.
These functions vma_link() and mmap_region() have some of the same code,
introduce vma_link_file() helper function to simplify the code.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Yajun Deng <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions