summaryrefslogtreecommitdiffstats
path: root/arch/parisc/include/asm/elf.h
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2014-01-31 22:19:52 +0100
committerHelge Deller <deller@gmx.de>2014-02-02 21:00:13 +0100
commit9dabf60dc4abe6e06bebcc2ee46b4d76ec8741f2 (patch)
tree93b98d806b1941b91ac3de04b7bd730103d3fab8 /arch/parisc/include/asm/elf.h
parentparisc: Make EWOULDBLOCK be equal to EAGAIN on parisc (diff)
downloadlinux-9dabf60dc4abe6e06bebcc2ee46b4d76ec8741f2.tar.xz
linux-9dabf60dc4abe6e06bebcc2ee46b4d76ec8741f2.zip
parisc: add flexible mmap memory layout support
Add support for the flexible mmap memory layout (as described in http://lwn.net/Articles/91829). This is especially very interesting on parisc since we currently only support 32bit userspace (even with a 64bit Linux kernel). Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/include/asm/elf.h')
-rw-r--r--arch/parisc/include/asm/elf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/parisc/include/asm/elf.h b/arch/parisc/include/asm/elf.h
index ad2b50397894..3391d061eccc 100644
--- a/arch/parisc/include/asm/elf.h
+++ b/arch/parisc/include/asm/elf.h
@@ -348,4 +348,8 @@ struct pt_regs; /* forward declaration... */
#define ELF_HWCAP 0
+struct mm_struct;
+extern unsigned long arch_randomize_brk(struct mm_struct *);
+#define arch_randomize_brk arch_randomize_brk
+
#endif