aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/elf.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/include/asm/elf.h')
-rw-r--r--arch/powerpc/include/asm/elf.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/elf.h b/arch/powerpc/include/asm/elf.h
index c125da793b07..3f94d8880e6c 100644
--- a/arch/powerpc/include/asm/elf.h
+++ b/arch/powerpc/include/asm/elf.h
@@ -271,6 +271,11 @@ extern int arch_setup_additional_pages(struct linux_binprm *bprm,
271 int uses_interp); 271 int uses_interp);
272#define VDSO_AUX_ENT(a,b) NEW_AUX_ENT(a,b); 272#define VDSO_AUX_ENT(a,b) NEW_AUX_ENT(a,b);
273 273
274/* 1GB for 64bit, 8MB for 32bit */
275#define STACK_RND_MASK (is_32bit_task() ? \
276 (0x7ff >> (PAGE_SHIFT - 12)) : \
277 (0x3ffff >> (PAGE_SHIFT - 12)))
278
274#endif /* __KERNEL__ */ 279#endif /* __KERNEL__ */
275 280
276/* 281/*