ARM: Compile the kernel into VMALLOC
This makes it possible to compile the kernel into the
VMALLOC area (kernel virtual memory allocation pool).
We hammer down the virtual location of the kernel to
0xf1000000 and augment all translation functions to take
a special roundtrip for any kernel addresses when mapping
virtual-to-physical or physical-to-virtual addresses.
We make sure all modules are loaded into the VMALLOC area
when using this configuration as well.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
6 files changed