]> git.baikalelectronics.ru Git - kernel.git/commit
mm: Add len and flags parameters to arch_get_mmap_end()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Sat, 9 Apr 2022 17:17:28 +0000 (19:17 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 5 May 2022 12:11:57 +0000 (22:11 +1000)
commitd46f7484116a40b8d9773f79f979c18215f08fd5
tree56a43c0bea9cad657080238f56140dc417b15ef8
parent8d521e8fea20e9243e92643449b652a2a335c2ee
mm: Add len and flags parameters to arch_get_mmap_end()

Powerpc needs flags and len to make decision on arch_get_mmap_end().

So add them as parameters to arch_get_mmap_end().

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/b556daabe7d2bdb2361c4d6130280da7c1ba2c14.1649523076.git.christophe.leroy@csgroup.eu
arch/arm64/include/asm/processor.h
fs/hugetlbfs/inode.c
include/linux/sched/mm.h
mm/mmap.c