]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: change vmalloc_start to vmalloc_size
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Tue, 18 May 2021 11:58:34 +0000 (12:58 +0100)
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Mon, 7 Jun 2021 11:56:19 +0000 (12:56 +0100)
commit0c8e8aee0872a367868f0ab63f8a0b08efd3ccce
tree4053f5d9898d1aa81033ec00778ac3715905b1de
parent07d197d4c4f2788c71bdebd5a41893c93004c981
ARM: change vmalloc_start to vmalloc_size

Rather than storing the start of vmalloc space, store the size, and
move the calculation into adjust_lowmem_limit(). We now have one single
place where this calculation takes place.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Yanfei Xu <yanfei.xu@windriver.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
arch/arm/mm/mmu.c