ARM: use "* SZ_1M" rather than "<< 20"
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Fri, 28 May 2021 10:01:40 +0000 (11:01 +0100)
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Mon, 7 Jun 2021 11:56:19 +0000 (12:56 +0100)
commit08b842400ff555d372d9584af13fe0195ef0ac1b
tree3032ed5a92a12b287950ca7eaf4bb6097e3fa5f6
parent4c1b7a7616086a95cb6983f7b68b8d85b2f9bcc6
ARM: use "* SZ_1M" rather than "<< 20"

Make the default vmalloc size clearer by using a more natural
multiplication by SZ_1M rather than a shift left by 20 bits.

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