summaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorMartin Schwidefsky2018-08-31 10:42:24 +0200
committerMartin Schwidefsky2018-10-09 11:20:55 +0200
commit53c99bd665a2649341ed6aed358ab56a3eedcd00 (patch)
treeb7fb2be29c66039b6f986f988e064bfdff7dd392 /.gitattributes
parents390/pfault: do not use stack buffers for hardware data (diff)
downloadkernel-qcow2-linux-53c99bd665a2649341ed6aed358ab56a3eedcd00.tar.gz
kernel-qcow2-linux-53c99bd665a2649341ed6aed358ab56a3eedcd00.tar.xz
kernel-qcow2-linux-53c99bd665a2649341ed6aed358ab56a3eedcd00.zip
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>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions