Files
kernel_arpi/include/linux
Martin Schwidefsky 53c99bd665 init: add arch_call_rest_init to allow stack switching
With CONFIG_VMAP_STACK=y the kernel stack of all tasks should be
allocated in the vmalloc space. The initial stack used for all
the early init code is in the init_thread_union. To be able to
switch from this early stack to a properly allocated stack
from vmalloc the architecture needs a switch-over point.

Introduce the arch_call_rest_init() function with a weak definition
in init/main.c with the only purpose to call rest_init() from the
end of start_kernel(). The architecture override can then do the
necessary magic to switch to the new vmalloc'ed stack.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2018-10-09 11:20:55 +02:00
..
2018-08-09 14:05:30 -07:00
2018-08-22 10:52:48 -07:00
2018-08-30 17:08:35 +02:00
2018-09-04 21:31:43 +02:00
2018-08-08 11:06:20 +02:00
2018-08-22 10:52:45 -07:00
2018-08-22 10:52:46 -07:00
2018-08-02 17:33:06 -04:00
2018-08-02 17:16:05 +02:00
2018-08-16 12:14:42 -07:00