aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/processor.h
diff options
context:
space:
mode:
authorSven Schnelle <svens@linux.ibm.com>2022-04-06 08:35:26 +0200
committerHeiko Carstens <hca@linux.ibm.com>2022-04-25 13:54:14 +0200
commit57761da4dc5cd60bed2c81ba0edb7495c3c740b8 (patch)
treeabbdfb74d74e91abed372c2ad22f3ca29d7061d2 /arch/s390/include/asm/processor.h
parents390/mmap: increase stack/mmap gap to 128MB (diff)
downloadlinux-dev-57761da4dc5cd60bed2c81ba0edb7495c3c740b8.tar.xz
linux-dev-57761da4dc5cd60bed2c81ba0edb7495c3c740b8.zip
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>
Diffstat (limited to 'arch/s390/include/asm/processor.h')
-rw-r--r--arch/s390/include/asm/processor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/include/asm/processor.h b/arch/s390/include/asm/processor.h
index ff1e25d515a8..a3ab8cbcc5e4 100644
--- a/arch/s390/include/asm/processor.h
+++ b/arch/s390/include/asm/processor.h
@@ -83,6 +83,7 @@ void cpu_detect_mhz_feature(void);
extern const struct seq_operations cpuinfo_op;
extern void execve_tail(void);
extern void __bpon(void);
+unsigned long vdso_size(void);
/*
* User space process size: 2GB for 31 bit, 4TB or 8PT for 64 bit.