X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=arch%2Friscv%2Finclude%2Fasm%2Felf.h;h=f53c40026c7aa08e0170d8d58b6873760fdfb87f;hb=d5935537c8256fc63c77d5f4914dfd6e3ef43241;hp=f4b490cd0e5d1b3b0b903ef960130bd5e17644ca;hpb=76e2d16bd5d0193f891a0e30f14ef5c8c370bc8f;p=linux-2.6-microblaze.git diff --git a/arch/riscv/include/asm/elf.h b/arch/riscv/include/asm/elf.h index f4b490cd0e5d..f53c40026c7a 100644 --- a/arch/riscv/include/asm/elf.h +++ b/arch/riscv/include/asm/elf.h @@ -42,6 +42,9 @@ */ #define ELF_ET_DYN_BASE ((TASK_SIZE / 3) * 2) +#ifdef CONFIG_64BIT +#define STACK_RND_MASK (0x3ffff >> (PAGE_SHIFT - 12)) +#endif /* * This yields a mask that user programs can use to figure out what * instruction set this CPU supports. This could be done in user space,