diff options
author | David Hildenbrand <david@redhat.com> | 2024-03-27 15:33:01 +0100 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-04-26 05:56:24 +0200 |
commit | 82a616d0f33b77b1cadd0652efbe11874771320f (patch) | |
tree | 62063e8db56e648cd3042c217418a65e9245e488 /mm/folio-compat.c | |
parent | mm: optimize CONFIG_PER_VMA_LOCK member placement in vm_area_struct (diff) | |
download | linux-82a616d0f33b77b1cadd0652efbe11874771320f.tar.xz linux-82a616d0f33b77b1cadd0652efbe11874771320f.zip |
mm: remove "prot" parameter from move_pte()
The "prot" parameter is unused, and using it instead of what's stored in
that particular PTE would very likely be wrong. Let's simply remove it.
Link: https://lkml.kernel.org/r/20240327143301.741807-1-david@redhat.com
Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Vishal Moola (Oracle) <vishal.moola@gmail.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/folio-compat.c')
0 files changed, 0 insertions, 0 deletions