mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 08:43:31 +00:00
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>
This commit is contained in:
parent
4c1b7a7616
commit
08b842400f
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Reference in a new issue