aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-s390/elf.h
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2008-02-09 12:24:36 -0500
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2008-02-09 12:24:40 -0500
commit5a216a20837c5f5fa1ca4b8ae8991ffd96b08e6f (patch)
treedde54e28497e920fa460cc95dadb6b38f1b2dbe0 /include/asm-s390/elf.h
parent146e4b3c8b92071b18f0b2e6f47165bad4f9e825 (diff)
[S390] Add four level page tables for CONFIG_64BIT=y.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'include/asm-s390/elf.h')
-rw-r--r--include/asm-s390/elf.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/include/asm-s390/elf.h b/include/asm-s390/elf.h
index 8181ca5b98f4..b760cd4de385 100644
--- a/include/asm-s390/elf.h
+++ b/include/asm-s390/elf.h
@@ -138,14 +138,7 @@ typedef s390_regs elf_gregset_t;
138 use of this is to invoke "./ld.so someprog" to test out a new version of 138 use of this is to invoke "./ld.so someprog" to test out a new version of
139 the loader. We need to make sure that it is out of the way of the program 139 the loader. We need to make sure that it is out of the way of the program
140 that it will "exec", and that there is sufficient room for the brk. */ 140 that it will "exec", and that there is sufficient room for the brk. */
141 141#define ELF_ET_DYN_BASE (TASK_SIZE / 3 * 2)
142#ifndef __s390x__
143#define ELF_ET_DYN_BASE ((TASK_SIZE & 0x80000000) \
144 ? TASK_SIZE / 3 * 2 \
145 : 2 * TASK_SIZE / 3)
146#else /* __s390x__ */
147#define ELF_ET_DYN_BASE (TASK_SIZE / 3 * 2)
148#endif /* __s390x__ */
149 142
150/* Wow, the "main" arch needs arch dependent functions too.. :) */ 143/* Wow, the "main" arch needs arch dependent functions too.. :) */
151 144