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)
commit4c1b7a7616086a95cb6983f7b68b8d85b2f9bcc6
tree4053f5d9898d1aa81033ec00778ac3715905b1de
parentf572f5cb3926fb436cf4f55c84685f2ff7425e57
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