no-MMU: expose vmalloc_huge() for alloc_large_system_hash()

It turns out that for the CONFIG_MMU=n builds, vmalloc_huge() was never
defined, since it's defined in mm/vmalloc.c, which doesn't get built for
the no-MMU configurations.

Just implement the trivial wrapper for the no-MMU case too.  In fact,
just make it an alias to the existing __vmalloc() function that has the
same signature.

Reported-and-tested-by: Linux Kernel Functional Testing <>
Reported-and-tested-by: Geert Uytterhoeven <>
Reported-by: Sudip Mukherjee <>
Reported-by: Guenter Roeck <>
Signed-off-by: Linus Torvalds <>
1 file changed