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