arch: personality independent stack top
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Thu, 19 Jul 2007 08:48:14 +0000 (01:48 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 19 Jul 2007 17:04:45 +0000 (10:04 -0700)
commitb111757c50ee30dad162192df6168e270a90c252
tree49a38ddb2fd5f53ceb4f76c802c2185c1be9a6c6
parentf34e3b61f2be9628bd41244f3ecc42009c5eced5
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>
22 files changed:
include/asm-alpha/a.out.h
include/asm-arm/a.out.h
include/asm-arm26/a.out.h
include/asm-avr32/a.out.h
include/asm-cris/a.out.h
include/asm-frv/mem-layout.h
include/asm-h8300/a.out.h
include/asm-i386/a.out.h
include/asm-ia64/ustack.h
include/asm-m32r/a.out.h
include/asm-m68k/a.out.h
include/asm-mips/a.out.h
include/asm-parisc/a.out.h
include/asm-powerpc/a.out.h
include/asm-s390/a.out.h
include/asm-sh/a.out.h
include/asm-sh64/a.out.h
include/asm-sparc/a.out.h
include/asm-sparc64/a.out.h
include/asm-um/a.out.h
include/asm-x86_64/a.out.h
include/asm-xtensa/a.out.h