ARM: change vmalloc_min to be unsigned long
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Tue, 18 May 2021 11:37:41 +0000 (12:37 +0100)
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Mon, 7 Jun 2021 11:56:18 +0000 (12:56 +0100)
commit01bb34852bf3b3e25455340fa3fedf9fc4ba38d6
tree510622bd544783061ea67fb2f1efc3335908c9d9
parentd619f90fae23a31eda3a06e762a17dcdc7fbd4e8
ARM: change vmalloc_min to be unsigned long

vmalloc_min is currently a void pointer, but everywhere its used
contains a cast - either to a void pointer when setting or back to
an integer type when being used. Eliminate these casts by changing
its type to unsigned long.

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