diff options
author | Peter Zijlstra | 2007-07-19 10:48:14 +0200 |
---|---|---|
committer | Linus Torvalds | 2007-07-19 19:04:45 +0200 |
commit | b111757c50ee30dad162192df6168e270a90c252 (patch) | |
tree | 49a38ddb2fd5f53ceb4f76c802c2185c1be9a6c6 /include/asm-parisc | |
parent | use the new percpu interface for shared data (diff) | |
download | kernel-qcow2-linux-b111757c50ee30dad162192df6168e270a90c252.tar.gz kernel-qcow2-linux-b111757c50ee30dad162192df6168e270a90c252.tar.xz kernel-qcow2-linux-b111757c50ee30dad162192df6168e270a90c252.zip |
arch: personality independent stack top
New arch macro STACK_TOP_MAX it gives the larges valid stack address for the
architecture in question.
It differs from STACK_TOP in that it will not distinguish between
personalities but will always return the largest possible address.
This is used to create the initial stack on execve, which we will move down to
the proper location once the binfmt code has figured out where that is.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ollie Wild <aaw@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-parisc')
-rw-r--r-- | include/asm-parisc/a.out.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-parisc/a.out.h b/include/asm-parisc/a.out.h index 2a490cc9ec91..23e2c90943e5 100644 --- a/include/asm-parisc/a.out.h +++ b/include/asm-parisc/a.out.h @@ -23,6 +23,7 @@ struct exec * prumpf */ #define STACK_TOP TASK_SIZE +#define STACK_TOP_MAX DEFAULT_TASK_SIZE #endif |