Commit 08b84240 authored by Russell King (Oracle)'s avatar Russell King (Oracle)
Browse files

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: default avatarLinus Walleij <linus.walleij@linaro.org>
Reviewed-by: default avatarYanfei Xu <yanfei.xu@windriver.com>
Signed-off-by: default avatarRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
parent 4c1b7a76
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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'