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-07-15 13:55:44 +02:00
2018-08-09 14:05:30 -07:00
2018-07-24 14:43:26 -06:00
2018-08-22 10:52:48 -07:00
2018-07-22 14:13:43 +02:00
2018-07-24 19:11:26 +02:00
2018-07-12 10:04:29 -04:00
2018-08-30 17:08:35 +02:00
2018-07-27 09:57:23 +10:00
2018-09-04 21:31:43 +02:00
2018-08-08 11:06:20 +02:00
2018-07-12 21:35:28 +02:00
2018-08-22 10:52:45 -07:00
2018-07-10 17:22:35 +02:00
2018-07-19 11:34:23 +01:00
2018-07-25 13:41:22 -07:00
2018-07-21 10:43:12 -05:00
2018-08-22 10:52:46 -07:00
2018-07-20 01:11:45 +02:00
2018-08-02 17:33:06 -04:00
2018-08-02 17:16:05 +02:00
2018-07-07 17:25:23 +02:00
2018-08-16 12:14:42 -07:00