]> git.baikalelectronics.ru Git - kernel.git/commit
s390/vdso: move vdso mapping to its own function
authorSven Schnelle <svens@linux.ibm.com>
Wed, 6 Apr 2022 06:35:26 +0000 (08:35 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 25 Apr 2022 11:54:14 +0000 (13:54 +0200)
commit5bb52452c82118e8af6010f91250905e500afe34
treeabbdfb74d74e91abed372c2ad22f3ca29d7061d2
parentcfdb91d986e20980895b6976c564c26a63747ef1
s390/vdso: move vdso mapping to its own function

This is a preparation patch for adding vdso randomization to s390.
It adds a function vdso_size(), which will be used later in calculating
the STACK_TOP value. It also moves the vdso mapping into a new function
vdso_map(), to keep the code similar to other architectures.

Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/processor.h
arch/s390/kernel/vdso.c