From: Russell King (Oracle) Date: Fri, 28 May 2021 10:01:40 +0000 (+0100) Subject: ARM: use "* SZ_1M" rather than "<< 20" X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=08b842400ff555d372d9584af13fe0195ef0ac1b;p=linux.git 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 Reviewed-by: Yanfei Xu Signed-off-by: Russell King (Oracle) --- diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c index c4616b0683080..f2741cfc3951f 100644 --- a/arch/arm/mm/mmu.c +++ b/arch/arm/mm/mmu.c @@ -1121,7 +1121,7 @@ void __init debug_ll_io_init(void) } #endif -static unsigned long __initdata vmalloc_size = 240 << 20; +static unsigned long __initdata vmalloc_size = 240 * SZ_1M; /* * vmalloc=size forces the vmalloc area to be exactly 'size'